CVE-2026-3998: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in webmindpt WM JqMath
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.
AI Analysis
Technical Summary
The WM JqMath plugin for WordPress suffers from a stored XSS vulnerability due to insufficient input sanitization and output escaping of the 'style' attribute in the [jqmath] shortcode. The generate_jqMathFormula() function concatenates the 'style' attribute value directly into an HTML style attribute without applying escaping functions like esc_attr(). Authenticated attackers with Contributor-level access or higher can exploit this to inject malicious scripts that execute when other users access the compromised page. The CVSS 3.1 base score is 6.4 (medium severity), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and impact on confidentiality and integrity but not availability. No patch or official remediation is currently documented.
Potential Impact
An attacker with Contributor-level or higher privileges can inject arbitrary JavaScript into pages via the 'style' shortcode attribute, leading to stored XSS. This can compromise the confidentiality and integrity of user sessions or data when other users view the infected pages. The vulnerability does not affect availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and consider disabling or removing the WM JqMath plugin if possible. Monitor for updates from the vendor or security community regarding patches or workarounds.
CVE-2026-3998: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in webmindpt WM JqMath
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The WM JqMath plugin for WordPress suffers from a stored XSS vulnerability due to insufficient input sanitization and output escaping of the 'style' attribute in the [jqmath] shortcode. The generate_jqMathFormula() function concatenates the 'style' attribute value directly into an HTML style attribute without applying escaping functions like esc_attr(). Authenticated attackers with Contributor-level access or higher can exploit this to inject malicious scripts that execute when other users access the compromised page. The CVSS 3.1 base score is 6.4 (medium severity), reflecting network attack vector, low attack complexity, required privileges, no user interaction, and impact on confidentiality and integrity but not availability. No patch or official remediation is currently documented.
Potential Impact
An attacker with Contributor-level or higher privileges can inject arbitrary JavaScript into pages via the 'style' shortcode attribute, leading to stored XSS. This can compromise the confidentiality and integrity of user sessions or data when other users view the infected pages. The vulnerability does not affect availability. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Contributor-level access to trusted users only and consider disabling or removing the WM JqMath plugin if possible. Monitor for updates from the vendor or security community regarding patches or workarounds.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-11T17:08:45.978Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69df540182d89c981fbdb400
Added to database: 4/15/2026, 9:01:53 AM
Last enriched: 4/15/2026, 9:17:29 AM
Last updated: 4/16/2026, 6:22:53 AM
Views: 17
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.