What the vulnerability does
01Description
The WP Js List Pages Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'class' shortcode attribute in all versions up to, and including, 1.21 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-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 Js List Pages Shortcodes versions 1.21 and earlier contain a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious JavaScript into the plugin's shortcode handling, which executes in the browsers of other site visitors. The vulnerability affects the plugin's scope across the site, potentially compromising visitor sessions and data.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers when they view affected pages.
Potential impact on your site
04Site Impact
Visitors' sessions and data can be compromised; malicious scripts can steal credentials or redirect users.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege authenticated account (e.g., contributor or subscriber role).
Key dates
06Disclosure timeline
January 7, 2026
CVE published
April 8, 2026
Record updated