MediaWiki CookieConsent
CVE-2025-62659
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege MediaWiki account
-
DeliveryInject script into CookieConsent input
-
ExploitPayload stored unneutralized in page
-
ExecutionVictim passively loads affected page
-
ImpactScript executes in victim browser
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 | Exploitation requires an authenticated MediaWiki actor with privileges to supply input handled by the CookieConsent extension (PR:L), and a victim must perform a passive interaction such as loading the affected page (UI:P); the CVSS attack requirement (AT:P) further implies a non-trivial precondition beyond the attacker's sole control. The flaw is improper neutralization of input during web page generation (CWE-79) in the CookieConsent extension at versions from v0.1.0 up to (not including) v2.0.0; the specific injectable field is not named in the description and should be confirmed via Phabricator T404475. Limiting factors: requires authentication (not unauthenticated), requires victim interaction, impact is limited (VC:L/VI:L, no availability impact), and sites must be running an affected pre-2.0.0 CookieConsent version. |
| Impact | This is a low-priority, high-confidence-but-low-impact issue. The vendor-supplied CVSS 4.0 score is only 2.1, and the vector reflects why: although the attack vector is network (AV:N), exploitation requires low-level privileges (PR:L), passive user interaction (UI:P), and carries an attack requirement (AT:P), with only limited confidentiality and integrity impact (VC:L/VI:L) and no availability or subsequent-system impact (VA:N/SC:N/SI:N/SA:N). Supporting signals agree with the low rating: EPSS is 0.29% (20th percentile), indicating low predicted exploitation probability; there is no CISA KEV listing and no public exploit code identified at time of analysis. No signals conflict - every source (CVSS, EPSS, absence of KEV/POC) points the same direction. The only cross-signal nuance is that 'network' attack vector can make an XSS sound broadly exploitable, but the PR:L + UI:P + AT:P combination means an authenticated actor must inject the payload and a victim must take a passive action for it to fire, which materially constrains real-world risk. Verify the exact injection point with the vendor via the Phabricator ticket, as the precise feature is not spelled out in the description. |
| Exploit ScenarioDerived | An authenticated MediaWiki user with privileges to supply input processed by the CookieConsent extension injects a crafted script payload that is not properly neutralized during web page generation. When another user passively loads the affected page, the stored/reflected script executes in their browser session, enabling limited theft of session context or UI manipulation. No public exploit code is identified at time of analysis, and the CVSS attack requirement (AT:P) plus required passive user interaction (UI:P) and low privileges (PR:L) limit practical exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Cross-site scripting in the MediaWiki CookieConsent extension (versions v0.1.0 up to but not including v2.0.0) lets an authenticated MediaWiki actor who can supply input consumed by the extension inject script that renders in a victim's browser when the affected page is loaded. Exploitation requires that authenticated position plus passive victim interaction, and the resulting impact is limited to low-confidentiality and low-integrity effects with no availability impact, so this is a low-priority issue (EPSS 0.29%, ~20th percentile). There is no indication of active exploitation in CISA KEV and no public exploit code identified at time of analysis.
RemediationAI
Upgrade the CookieConsent extension to the first release outside the affected range, v2.0.0, which is the presumed vendor fix for this issue, and validate the fixed version against the upstream advisory at https://phabricator.wikimedia.org/T404475 since no separate patch reference or commit was supplied in the source data (patch availability is therefore only implied by the version boundary, not independently confirmed here). If an immediate upgrade is not possible, the extension can be disabled as a temporary measure - the trade-off being loss of the cookie-consent banner and possible compliance exposure for sites that depend on it for consent capture. Additional compensating controls include tightening which authenticated groups can supply the input consumed by the extension and reviewing the affected rendering path for escaping, plus deploying a restrictive Content-Security-Policy to reduce the reach of injected script, with the caveat that CSP can break legitimate MediaWiki inline scripts and requires testing. Given the low EPSS score (0.29%) and the authentication and user-interaction prerequisites, remediation can be scheduled on a normal maintenance cadence rather than treated as an emergency.
Affected ProductsAI
The Wikimedia Foundation MediaWiki CookieConsent extension is affected in all releases from v0.1.0 up to, but not including, v2.0.0; any MediaWiki installation that has the CookieConsent extension installed at one of those versions is in scope, while MediaWiki core itself is not implicated by this CVE. No CPE identifiers were provided in the source data, so version discovery must rely on the extension's version metadata within the wiki instance. The upstream advisory and technical detail for this issue is the Wikimedia Phabricator task at https://phabricator.wikimedia.org/T404475.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-79, improper neutralization of input during web page generation, occurring inside the Wikimedia MediaWiki CookieConsent extension, which renders a cookie-consent interface on MediaWiki pages. Input handled by the extension is not correctly escaped or sanitized before being emitted into the generated HTML, allowing script injection into the page context. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N) and the independent CVSS 3.1 assessment (AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N) both indicate a network-reachable, authenticated attack path with a non-trivial precondition (AT:P) and required victim interaction, with scope change in the 3.1 view. The exact injectable parameter or field is not identified in the description and should be confirmed against the upstream Wikimedia Phabricator task T404475 before assuming a specific attack surface. No CPE strings were supplied with the input data, so affected assets must be enumerated by installed extension version rather than through CPE-based matching.
Know when Mediawiki 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/S:N/AU:N/R:U/V:C/RE:M/U:Amber
Authenticated injector gives PR:L, victim must view the page so UI:R, the 4.0 attack requirement maps to AC:H, XSS executing in the victim context yields S:C with limited C/I and no availability impact.
Primary rating from Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc).
CVSS VectorVendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
DescriptionCVE.org
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in The Wikimedia Foundation MediaWiki CookieConsent extension allows Cross-Site Scripting (XSS).This issue affects MediaWiki CookieConsent extension: from v0.1.0 before v2.0.0.
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.
MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when DjVu or PDF file upload support is
The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,
An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi
The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf
The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely
An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this
api.php in MediaWiki before 1.27.4, 1.28.x before 1.28.3, and 1.29.x before 1.29.2 has a Reflected File Download vulnera
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun
An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB