Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCreate/compromise contributor account
-
DeliveryCraft [jqmath] shortcode with malicious style payload
-
ExploitInsert shortcode into post/page
-
InstallPublish post (stored in database)
-
C2Victim visits page
-
ExecuteBrowser renders unescaped HTML and executes injected script
-
ImpactAttacker gains victim's session or performs unauthorized action
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 6.4 with AV:N/AC:L/PR:L/UI:N/S:C indicates network-accessible, low-complexity exploitation requiring authenticated (Contributor+) access, no user interaction needed, and scope change (cross-account impact). The 'PR:L' authentication requirement significantly reduces attack surface compared to unauthenticated XSS-the attacker must have WordPress author or higher privileges. However, on sites with open registration or permissive contributor roles, this is practically accessible. The 'S:C' (scope changed) flag means injected scripts execute with the privileges of any user viewing the page, potentially affecting admins. No EPSS score, KEV status, or public POC data provided; therefore, real-world exploitation likelihood cannot be estimated from authoritative sources. The risk is real but contextual: high-risk on collaborative sites with many contributors, lower on sites with strict role management. The Wordfence report indicates vendor awareness; patch status unclear from provided data. |
| Exploit ScenarioDerived | An attacker with Contributor access (or someone who has compromised a contributor account) creates or edits a WordPress post, embedding a shortcode like [jqmath style="color:red;'-alert('XSS')-'"] in the content. When any user, including administrators, visits the post, the unescaped style attribute is rendered into the HTML, causing the injected JavaScript to execute in their browser. The attacker can steal session cookies, deface content, or perform actions as the viewing user. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 15, 2026
Stored cross-site scripting in WM JqMath WordPress plugin up to version 1.3 allows authenticated contributors and above to inject arbitrary JavaScript via the 'style' shortcode attribute, which executes in the browsers of all users viewing affected pages. The vulnerability stems from direct concatenation of unsanitized user input into HTML without proper escaping (missing esc_attr() calls). CVSS 6.4 reflects moderate risk with scope change; no public exploit code or active KEV status identified at time of analysis.
RemediationAI
Disable or remove the WM JqMath plugin immediately if not required. If the plugin is essential, check for version 1.4 or later, which should include input sanitization fixes (e.g., application of esc_attr() to the 'style' attribute before output). Consult the plugin's changelog or the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/b4aebb45-b47b-4b5a-8281-400a4b786689) for the exact patched version. As an interim workaround, restrict Contributor-level access to users who are trusted, and audit existing posts/pages using [jqmath] shortcodes for suspicious style attribute values. Implement a Content Security Policy (CSP) header to mitigate inline script injection where possible, though this does not fully replace patching. Review and remove any suspicious shortcode content that may have been injected by less-trusted contributors.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WM JqMath is a WordPress plugin that renders mathematical formulas using the jqMath library. The vulnerability exists in the generate_jqMathFormula() function, which processes the [jqmath] shortcode. WordPress shortcode attributes are user-controlled when edited by authenticated users with Contributor role or higher. The plugin fails to apply WordPress's esc_attr() sanitization function before embedding the 'style' attribute value directly into HTML output. This is a classic Stored XSS (CWE-79: Improper Neutralization of Input During Web Page Generation) where the malicious payload persists in post/page content and executes every time the page loads. The affected CPE (cpe:2.3:a:webmindpt:wm_jqmath:*:*:*:*:*:*:*:*) covers all versions through 1.3.
Know when Wm Jqmath gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-22865
GHSA-qq42-h26h-x735
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB