Skip to main content

MathML Block CVE-2026-137004

| EUVDEUVD-2026-141335 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-12-02 Wordfence GHSA-vgfr-v4gw-283v
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted comment with script payload
  2. Delivery
    Obtain one moderator approval of initial comment
  3. Exploit
    Core auto-approves subsequent comments from same visitor
  4. Execution
    Victim loads post containing MathML block
  5. Impact
    Script executes in victim's browser session

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.

Exploitation Conditions

Two concrete preconditions gate exploitation, both drawn from the description: (1) the targeted post must contain the plugin's MathML block, and (2) at least one comment from the attacker's visitor identity must first be approved by a moderator - after which WordPress core's default comment_previously_approved behavior auto-approves that visitor's subsequent comments, making the payload live without further moderator action. Limiting factors for defenders: comments must be enabled on an affected post, the post must actually embed a MathML block, and the initial moderator-approval step is required (the payload does not go live purely unauthenticated on first submission). These content- and moderation-dependent gates are not captured by the raw PR:N/UI:N vector and should temper urgency relative to the 7.2 score.

Impact

This is a moderate-priority issue rather than a top-tier emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, 7.2) indicates network-reachable, unauthenticated, low-complexity injection with a scope change, which on paper looks serious; however the real-world risk is tempered by meaningful preconditions baked into the description. Exploitation status is 'no public exploit identified at time of analysis' - there is no CISA KEV listing and no input field asserting a working PoC (the references are the Wordfence advisory and plugin source/changeset lines, not confirmed exploit code). No EPSS score was supplied, so widespread-exploitation probability cannot be quantified. The vuln.today decision label is 'this_week', consistent with a patch-promptly-but-not-drop-everything posture. A notable tension: the vector claims UI:N and PR:N, but successful exploitation actually requires the attacker's first comment to be approved by a moderator (after which WordPress core's comment_previously_approved auto-approves follow-ups) AND the targeted post to contain a MathML block - these operator- and content-dependent gates are not reflected in the raw vector and materially reduce opportunistic mass exploitation. Net: a genuine stored-XSS flaw worth patching this week, but the moderator-approval and block-presence requirements make it closer to a targeted than a wormable, drive-by risk.

Exploit ScenarioDerived

An unauthenticated attacker posts a comment containing a crafted script payload on a blog post that includes the plugin's MathML block. Once a moderator approves one initial comment from that visitor, WordPress auto-approves their subsequent comments, so the malicious payload goes live and executes in the browser of any user who later views the page. No public working exploit code is confirmed in the supplied data, though the attack is low-complexity once the moderator-approval gate is passed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Stored DOM-based cross-site scripting in the MathML Block plugin for WordPress (all versions up to and including 1.2.4) allows remote attackers to inject arbitrary web scripts through the 'comment' parameter, which execute in the browser of anyone who views an injected page. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:C (7.2), so the submission path is unauthenticated, but exploitation is gated by two content- and moderation-dependent preconditions: the targeted post must actually embed the plugin's MathML block, and one comment from the attacker's visitor identity must first be approved by a moderator - after which WordPress core's default comment_previously_approved behaviour auto-approves that visitor's later comments and the payload goes live without further review. No public exploit code has been identified at time of analysis and there is no CISA KEV entry; the reporting source is Wordfence and the priority decision is this_week, consistent with a moderate-priority issue rather than a top-tier emergency.

RemediationAI

No exact fixed version number is stated in the available data. A WordPress.org plugin repository changeset (https://plugins.trac.wordpress.org/changeset?reponame=&old=3823826%40mathml-block&new=3823826%40mathml-block) indicates an upstream fix has been committed, so treat this as upstream fix available (commit); a released patched version is not independently confirmed, and administrators should verify the plugin's changelog and current version on WordPress.org before relying on an upgrade, and consult the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/0c25d81b-a093-4098-bc18-b6372e699cb9?source=cve for the vendor's guidance. If an upgrade cannot be applied immediately, the two exploitation preconditions can be broken instead: deactivate and remove the plugin entirely if MathML rendering is not in use (side effect: existing MathML blocks stop rendering and may leave broken or empty content in posts), or strip the plugin's MathML block from posts that have comments enabled (side effect: loss of the MathML presentation on those posts). Disabling comments on posts that embed MathML blocks also removes the injection path, at the cost of closing discussion on exactly the technical content most likely to attract it. Separately, turning off the Discussion setting that auto-approves comments from authors with a previously approved comment forces every submission through moderation and breaks the second precondition, but it holds all comments site-wide for review and increases moderator workload. Each of these measures only blocks the precondition; the underlying missing sanitisation and output escaping in the plugin remains until the patched code is installed.

Affected VersionsENISA

MathML Block 0 ≤1.2.4

Affected Packages

euvd mathml_block 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

MathML Block is a WordPress plugin (CPE cpe:2.3:a:adamsilverstein:mathml_block) that provides a Gutenberg block for embedding MathML markup in posts. The flaw is CWE-79 (improper neutralisation of input during web page generation), here manifesting as stored DOM-based XSS: the plugin handles the 'comment' parameter without sufficient sanitisation on input and without adequate escaping when the value is written into the page's DOM, so attacker-supplied markup is interpreted as script in the rendering context rather than as inert text. The vendor references point at three specific locations in mathml-block.php at tag 1.2.4 (lines 54, 178 and 204), which are the code paths in the 1.2.4 release relevant to this handling. Because the payload lands in the DOM of a page rendered by the plugin, the CVSS scope is Changed (S:C), meaning the executed script can affect resources beyond the vulnerable component's own privilege boundary. The persistence mechanism relies on standard WordPress comment behaviour rather than on a flaw in core: the comment_previously_approved option means a visitor whose comment was once approved has subsequent comments published automatically, which is what converts a single moderated submission into a live payload. The exact trigger mechanics beyond the 'comment' parameter handling are not described in the available sources.

Know when Mathml Block 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

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 7.2 HIGH

Unauthenticated comment input (PR:N) yields stored script executing in other users' browsers (S:C, C:L/I:L), no availability impact; AC:L retained since the moderator-approval gate is environmental rather than attack complexity.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The MathML Block plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 1.2.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires the targeted post to contain the plugin's MathML block, and after one initial comment approval by a moderator, WordPress core's default comment_previously_approved behavior will auto-approve subsequent comments from the same visitor, making the payload live without further moderator action.

Executive ViewAI

Why It Matters

The MathML Block plugin for WordPress (versions up to 1.2.4) contains a stored cross-site scripting vulnerability that allows attackers to inject malicious scripts into comments, which then execute in the browsers of site visitors who view the affected page. This puts site visitors at risk of session hijacking, credential theft, and other browser-based attacks, which could damage the organization's reputation and erode user trust. Leadership should prioritize remediation due to the potential for widespread compromise of visitor trust and the plugin's use on public-facing sites.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable the MathML Block plugin if not essential; restrict comment functionality on pages using the plugin; enforce strict moderation of all comments; deploy a WAF to filter malicious payloads; monitor logs for anomalous comment activity.

Threat Intelligence Overview

EPSS Score
0.6%
Top 48% exploitable
Prevalence
Low
niche single-author WordPress MathML-notation plugin, limited install base
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
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