What the vulnerability does
01Description
The WP Docs plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpdocs_options[icon_size]' parameter in all versions up to, and including, 2.2.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
WP Docs versions 2.2.9 and earlier contain a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other users, including administrators. The vulnerability affects the entire site scope due to how the application processes and displays user-supplied content without proper sanitization.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers, potentially stealing session tokens or performing actions as those users.
Potential impact on your site
04Site Impact
Authenticated users can compromise other users' accounts or sessions, including admin accounts, without victim action.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege user account on the site; no user interaction required from victims.
Key dates
06Disclosure timeline
April 16, 2026
CVE published
April 16, 2026
Record updated