Skip to main content

MediaWiki Math Extension CVE-2026-132732

| EUVDEUVD-2026-134667 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-24 wikimedia-foundation GHSA-cr6q-mr36-7f68
5.3
CVSS 4.0 · Vendor: wikimedia-foundation
View

Attack ChainAIDerived

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

  1. Access
    Obtain wiki edit/content access
  2. Delivery
    Inject crafted math markup
  3. Exploit
    Victim views/hovers math popup
  4. Execution
    Unsanitized input renders in browser
  5. Impact
    Script executes in wiki origin

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

Requires passive user interaction (UI:P): a victim must view or hover over the affected Math popup element rendered from attacker-controlled math markup, so there is no fully automatic, interaction-free trigger. Although the vector sets PR:N, delivery realistically requires the attacker to inject the crafted math content into a page - unauthenticated only where the wiki permits anonymous or open editing; on wikis restricting edits, edit privileges are a practical prerequisite. Impact is limited to the victim's browser context (subsequent-system SC:L/SI:L) with no server-side confidentiality, integrity, or availability impact. Limiting factors: the specific trigger in modules/ext.math.popup.js is not described in the available sources, exploitation is bounded to users who render the malicious math element, and installations are affected only if running MediaWiki Math Extension 1.43, 1.45, 1.46, or 1.47.

Impact

This is a moderate-severity stored/reflected cross-site scripting flaw (CWE-79) in the MediaWiki Math Extension, rated CVSS 4.0 base 5.3 (medium) with vector AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N. The signals are internally consistent and point to a real-but-not-urgent issue: the attack is network-reachable with low complexity and no attacker privileges (PR:N), but it requires passive victim interaction (UI:P) and its impact is confined to the subsequent system - the victim's browser session - with only low confidentiality and integrity effect (SC:L/SI:L) and no availability or direct impact to the server (VC/VI/VA:N). There is no CISA KEV listing and no EPSS score in the provided data, so there is no evidence of active or probable exploitation; the vuln.today decision label is 'this_month', i.e. routine scheduled patching rather than emergency. The two references are a Wikimedia Phabricator tracking ticket and a Gerrit change (the fix), not a weaponized exploit, so no public exploit code is indicated. Net: a legitimate client-side XSS to remediate on a normal patch cycle, not a high-CVSS/low-real-risk false alarm, but also not an emergency. One tension worth verifying: PR:N implies unauthenticated, yet XSS delivered through the Math Extension typically depends on an attacker being able to place crafted math markup into page content, which on closed wikis requires edit rights - confirm whether your deployment allows anonymous or low-privilege editing.

Exploit ScenarioDerived

An attacker places crafted math markup on a wiki page (or in content rendered by the Math popup module); when another user hovers over or views the math element, the unsanitized input in modules/ext.math.popup.js executes attacker-controlled script in the victim's browser within the wiki origin, enabling session/content manipulation in that user's context. No public exploit code is identified, and exploitation requires the victim to interact with the malicious content (UI:P).

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

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

Alert me

AnalysisAIv1 – Nov 24, 2026

Cross-site scripting in the MediaWiki Math Extension allows script injected through crafted math markup to run in a victim's browser when the resulting math popup is rendered, affecting wikis on Math Extension 1.43, 1.45, 1.46 and 1.47. The vector rates it network-reachable with no privileges (PR:N), but exploitation depends on the victim interacting with the affected popup element (UI:P), and on wikis that restrict editing the attacker must first be able to place the malicious content. Severity is moderate (CVSS 4.0 base 5.3; impact confined to the victim's browser with no server-side confidentiality, integrity or availability loss), no public exploit code has been identified at time of analysis, and an upstream fix has been proposed in Gerrit for review.

RemediationAI

No released patched version is confirmed in the available data; instead an upstream fix is available as a Gerrit change (Ia4140708e120871f4adaea9070cbfb1c7fb04774) tracked under Phabricator task https://phabricator.wikimedia.org/T442830, so the patched release version must be confirmed from the task or the deploying wiki's vendor channel before rollout. Deployments that cannot yet take the fix should note that the flaw is only reachable by users who render the affected math popup element, so on wikis that restrict editing to trusted accounts the practical exposure is reduced to content those editors introduce or approve - a trade-off that removes open-editing workflows but does not help wikis where anonymous editing is already permitted. Disabling the Math extension entirely, or unloading the ext.math.popup module so the popup rendering path is never reached, removes the attack surface at the cost of losing math rendering and preview functionality across the wiki; because the exact trigger in ext.math.popup.js is not described in the available sources, any narrower targeted mitigation cannot be recommended from this data. Prioritisation is moderate (priority label: this_month; CVSS 4.0 base 5.3), with no CISA KEV listing or public exploit code known at time of analysis.

Affected VersionsENISA

MediaWiki - Math Extension 1.45
MediaWiki - Math Extension 1.46
MediaWiki - Math Extension 1.43
MediaWiki - Math Extension 1.47

Affected Packages

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

The affected component is a MediaWiki extension (CWE-79, improper neutralization of input during web page generation) whose client-side behaviour is defined by the resource module registered in extension.json and implemented in modules/ext.math.popup.js, the script that renders the popup/preview for math content. The vulnerability class means attacker-influenced markup reaches a page-generation or DOM-writing path without adequate encoding, letting script execute in the context of the wiki page - hence the CVSS 4.0 downstream metrics SC:L/SI:L with no vulnerable-system C/I/A impact (VC:N/VI:N/VA:N). The supplied advisory does not describe the specific sink, encoding failure or trigger inside ext.math.popup.js, so it is not possible to state from available sources whether the payload is stored in page content, reflected through a request, or introduced purely client-side when the popup is built. Because exploitation requires the victim to view or hover the affected math element (UI:P), exposure is bounded to users who actually render the malicious math; the independent assessment maps this to CVSS 3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, noting that the PR:N rating reflects the vector while practical delivery on edit-restricted wikis presupposes the ability to insert content.

Know when Mediawiki Math Extension 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 (wikimedia-foundation) PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Network-reachable client-side XSS needing victim interaction (UI:R) with a scope change into the browser (S:C); low confidentiality/integrity impact and no availability or privilege requirement.

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

Primary rating from Vendor (wikimedia-foundation).

CVSS VectorVendor: wikimedia-foundation

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

DescriptionCVE.org

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Wikimedia Foundation MediaWiki - Math Extension. This vulnerability is associated with program files extension.json, modules/ext.math.popup.js. This issue affects MediaWiki - Math Extension: 1.43, 1.45, 1.46, 1.47.

Threat Intelligence Overview

EPSS Score
0.5%
Top 66% exploitable
Prevalence
Medium
popular MediaWiki extension, widely used but not on every wiki
Social Media
1
Sightings
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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