Skip to main content

MediaWiki CookieConsent CVE-2025-62659

LOW
Cross-site Scripting (XSS) (CWE-79)
2025-10-22 c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
2.1
CVSS 4.0 · Vendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with low-privilege MediaWiki account
  2. Delivery
    Inject script into CookieConsent input
  3. Exploit
    Payload stored unneutralized in page
  4. Execution
    Victim passively loads affected page
  5. Impact
    Script 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

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

Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc) PRIMARY 2.1 LOW
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
vuln.today AI 4.4 MEDIUM

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.

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

Primary rating from Vendor (c4f26cc8-17ff-4c99-b5e2-38fc1793eacc).

CVSS VectorVendor: c4f26cc8-17ff-4c99-b5e2-38fc1793eacc

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

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche MediaWiki extension, not a core or widely-deployed component
Data Quality
3 sources
Confidence: Low

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 LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

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

CVE-2014-1610 MEDIUM POC
6.0 Jan 30

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

CVE-2015-8009 CRITICAL POC
9.8 Jul 25

The MWOAuthDataStore::lookup_token function in Extension:OAuth for MediaWiki 1.25.x before 1.25.3, 1.24.x before 1.24.4,

CVE-2023-37303 CRITICAL POC
9.8 Jun 30

An issue was discovered in the CheckUser extension for MediaWiki through 1.39.3. Rated critical severity (CVSS 9.8), thi

CVE-2022-29906 CRITICAL POC
9.8 Apr 29

The admin API module in the QuizGame extension for MediaWiki through 1.37.2 (before 665e33a68f6fa1167df99c0aa18ed0157cdf

CVE-2022-29904 CRITICAL POC
9.8 Apr 29

The SemanticDrilldown extension for MediaWiki through 1.37.2 (before e688bdba6434591b5dff689a45e4d53459954773) allows SQ

CVE-2022-28206 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2022-28205 CRITICAL POC
9.8 Mar 30

An issue was discovered in MediaWiki through 1.37.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely

CVE-2021-36128 CRITICAL POC
9.8 Jul 02

An issue was discovered in the CentralAuth extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2021-36126 CRITICAL POC
9.8 Jul 02

An issue was discovered in the AbuseFilter extension in MediaWiki through 1.36. Rated critical severity (CVSS 9.8), this

CVE-2017-8809 CRITICAL
9.8 Nov 15

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

CVE-2024-47849 HIGH POC
8.8 Oct 05

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in The Wikimedia Foun

CVE-2021-36132 HIGH POC
8.8 Jul 02

An issue was discovered in the FileImporter extension in MediaWiki through 1.36. Rated high severity (CVSS 8.8), this vu

References

Advisories & patches

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