Necessary cookies run this site. Analytics (Google Analytics, Microsoft Clarity) and
marketing (Google Ads remarketing) cookies follow your choice.
Change it anytime from the footer.Cookie PolicyPrivacy Policy
Cross-site scripting vulnerabilities we found in WordPress plugins
Cross-site scripting is the largest class in this research, and the reason is rarely a missing sanitiser. In many of these findings the sanitiser ran and gave a correct verdict on the value it was shown. The script got through afterwards: an entity decoded at render time, esc_attr() used on an attribute with no quotes, a value escaped for one context and printed into another, a sanitiser that cleaned array values and skipped the keys.
Most start with a Contributor, the lowest role that can write a post, and run first for the editor who opens the draft to approve it. A smaller group needs no account at all: a public form, a review submission or a crafted link is enough.
Published CVEs
33
Plugins
33
Active installs covered
9.8 million+
High severity
8
Published CVEs found by Intrudify in this category, worst first.
What can an attacker do with XSS in a WordPress admin session?
Anything the administrator can do. Several advisories here demonstrate it end to end: the script reads the REST nonce from the page, creates a new administrator account, or installs a plugin, which is arbitrary PHP on the server.
Why did wp_kses not stop these payloads?
Because most of them contain nothing wp_kses is looking for. The stored value carries no tag and no event handler. The dangerous characters appear later: from a decode step, from the plugin's own quote, or from the browser parsing an attribute that was never quoted.
The same mistakes appear in any codebase that builds HTML from stored data. A web application penetration test checks output in its context, which is where each of these was found.