WordPress Leads 1.6.1-1.6.2 - Stored XSS

The WordPress Leads plugin exposes a number of functions via AJAX to Anonymous users via the ‘nopriv_’ prefix. One of these functions that is registered in ‘leads/shared/classes/class.lead-storage.php’ controls the insertion of leads into the database.

A number of fields accepted as POST parameters (since they are merged into the $args array) can be manipulated to include arbitrary content, such as HTML or Java Script.

This content is then output to users with access to the Leads section of the WordPress Administrator (wp-admin/edit.php?post_type=wp-lead), in addition to the WordPress Admin home page by default (due to widgets being output). This would result in malicious code being executed under the context of the current user, with the possibility of modifying WordPress settings, or users, to facilitate escalation of access.

Affects Plugin

fixed in version 1.6.3


URL https://research.g0blin.co.uk/g0blin-00042/


Type XSS
OWASP Top 10 A3: Cross-Site Scripting (XSS)


Submitter James Hooker
Submitter Website https://research.g0blin.co.uk
Submitter Twitter g0blinResearch
Views 1299
Verified No


Publicly Published 2015-03-31 (over 3 years ago)
Added 2015-03-31 (over 3 years ago)
Last Updated 2015-05-15 (over 3 years ago)

Copyright & License

Copyright All data and resources contained within this page and this web site is Copyright © The WPScan Team.
License Some of this data may be used for non-commercial purposes, however, any potential commercial usage of this data will require a license. If you would like to inquire about a commercial license please contact us.