What the vulnerability does
01Description
The WM JqMath plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'style' shortcode attribute of the [jqmath] shortcode in all versions up to and including 1.3. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. The generate_jqMathFormula() function directly concatenates the 'style' attribute value into an HTML style attribute without applying esc_attr() or any other 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
WM JqMath versions 1.3 and earlier contain a cross-site scripting (XSS) vulnerability that allows an authenticated attacker to inject malicious scripts. The vulnerability has a changed scope, meaning the impact can extend beyond the vulnerable component itself. Low-privileged users can exploit this without user interaction to compromise site integrity and access sensitive information.
What an attacker can do
03Attacker Capabilities
Inject and execute malicious JavaScript in the browser of other site users or administrators.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other users' sessions, potentially stealing credentials or modifying site content.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privileged account on the site; no user interaction required.
Key dates
06Disclosure timeline
April 15, 2026
CVE published
April 15, 2026
Record updated