Skip to main content

MediaWiki Math CVE-2026-132733

| EUVDEUVD-2026-134668 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-24 wikimedia-foundation GHSA-pcf5-p9g2-hpj3
5.1
CVSS 4.0 · Vendor: wikimedia-foundation
View

Attack ChainAIDerived

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

  1. Access
    Craft XSS payload in math/Wikibase input
  2. Exploit
    Deliver link to Special:MathWikibase page
  3. Execution
    Victim loads page, unneutralized output renders
  4. Impact
    Script executes in victim 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

Requires the MediaWiki Math extension (versions 1.43, 1.45, 1.46, 1.47) installed with the Special:MathWikibase page reachable, which pulls and renders Wikibase-sourced mathematical data via src/SpecialMathWikibase.php. Exploitation is LIMITED by required active user interaction (UI:A) - a victim must load or interact with the page carrying the crafted input - and impact is confined to the victim's browser (no server confidentiality/integrity/availability impact per VC:N/VI:N/VA:N). The exact injection path (URL parameter versus Wikibase entity content, and whether editing privileges are needed to plant the payload) is not described in the available sources.

Impact

This is a moderate-severity stored/reflected cross-site scripting issue (CWE-79) in the MediaWiki Math extension, with the input CVSS 4.0 vector scoring 5.1 (Medium). The vector (AV:N/AC:L/AT:N/PR:N/UI:A) indicates network-reachable, low-complexity exploitation requiring no privileges but ACTIVE user interaction (a victim must load/interact with the affected Special:MathWikibase page). Impact is confined to the subsequent system (the victim browser): VC:N/VI:N/VA:N but SC:L/SI:L, consistent with script execution in a victim's session rather than direct server compromise. There is NO EPSS score and NO KEV listing in the provided data, and no exploit/PoC reference is present - only a Phabricator tracking task and a Gerrit code-review change (the fix), so exploitation is not demonstrated. The vuln.today decision label is 'this_month', not act_now or emergency. Net: this is a real but bounded XSS requiring victim interaction, appropriately a routine-priority patch rather than an urgent drop-everything fix; it is a legitimate issue but not a high-real-risk, mass-exploitation candidate on available signals. Note the input 4.0 vector sets PR:N, implying unauthenticated injection, but whether the malicious input requires edit/Wikibase privileges is not stated in the sources - verify the injection path with the vendor.

Exploit ScenarioDerived

An attacker introduces a crafted payload into the Wikibase-derived math data rendered by the Special:MathWikibase page; when a victim views or interacts with that page, the unneutralized input executes as script in the victim's browser under the wiki's origin, enabling session/cookie theft or actions as the victim. No public exploit code is identified at time of analysis - only the vendor's bug task and fix patch are referenced. Exploitation requires active user interaction (UI:A), so a victim must load the malicious page.

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 (versions 1.43, 1.45, 1.46 and 1.47) lets an attacker get script into the HTML generated by src/SpecialMathWikibase.php, which then executes in a victim's browser when that page is loaded. The issue is rated 5.1 (Medium) and is constrained by required user interaction and by impact that stays within the victim's browser, with no server-side confidentiality, integrity or availability effect. No public exploit code and no CISA KEV entry were identified at time of analysis; a Gerrit change and the Wikimedia Phabricator task T442861 are referenced.

RemediationAI

No vendor-released patched version is identified in the available data; the advisory references a Gerrit change (https://gerrit.wikimedia.org/r/q/I29597bc4a3d1d4c170e61194d7e5fd510d73a37d) and Phabricator task T442861, so the fix should be taken from that upstream change or from a subsequent Math extension release once one is confirmed, and sites tracking the 1.43, 1.45, 1.46 and 1.47 branches should watch for the corresponding backport. Because exploitation requires Special:MathWikibase to be reachable and a victim to interact with the page, restricting or disabling access to that special page limits exposure while a patch is staged, at the cost of losing the Wikibase-backed math display for the affected users; removing or disabling the Math extension entirely removes the attack surface but also disables all math rendering on the wiki. Review the Gerrit change and Phabricator task for any vendor-stated workaround before applying local configuration changes.

Affected VersionsENISA

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

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 the Math extension for MediaWiki (the PHP wiki platform), specifically the special page implemented in src/SpecialMathWikibase.php, which pulls Wikibase-sourced mathematical data and renders it into HTML. The root cause is CWE-79, Improper Neutralization of Input During Web Page Generation: output that reaches the generated page is not correctly encoded or escaped for the HTML context it is placed in, so markup supplied through the rendering path can be interpreted as script. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N) describes a network-reachable flaw of low attack complexity requiring no privileges but active user interaction, with no impact on the vulnerable system and only low confidentiality and integrity impact on the subsequent system, i.e. the victim's browser. The exact injection path - a URL parameter versus Wikibase entity content, and whether editing privileges are needed to plant the payload - is not described in the available sources, and the input does not establish whether the payload persists.

Know when PHP 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.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Reflected/stored XSS reachable over the network with low complexity; victim interaction required (UI:R), scope changes into the browser (S:C), low confidentiality/integrity impact, no availability impact.

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:A/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
Active
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 src/SpecialMathWikibase.php. 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
official MediaWiki extension, common on wikis that render mathematical notation
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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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