Skip to main content

Wm Jqmath EUVDEUVD-2026-22865

| CVE-2026-3998 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-15 Wordfence GHSA-qq42-h26h-x735
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Create/compromise contributor account
  2. Delivery
    Craft [jqmath] shortcode with malicious style payload
  3. Exploit
    Insert shortcode into post/page
  4. Install
    Publish post (stored in database)
  5. C2
    Victim visits page
  6. Execute
    Browser renders unescaped HTML and executes injected script
  7. Impact
    Attacker 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

WM JqMath 0 ≤1.3

Affected Packages

euvd wm_jqmath no fix

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

NVD PRIMARY 6.4 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.0%
Top 91% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy