Skip to main content

MediaWiki LanguageSelector CVE-2025-62697

HIGH
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-10-20 c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
8.8
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
    Reach MediaWiki with LanguageSelector
  2. Delivery
    Send crafted injection payload
  3. Exploit
    Downstream component fails neutralization
  4. Execution
    Code injection executes
  5. Impact
    Service availability degraded

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

Requires the MediaWiki LanguageSelector extension to be installed and enabled at a version from master before 1.39; MediaWiki core alone without this extension is not affected. The CVSS vector indicates no authentication and no user interaction are needed (PR:N/UI:N) against such an instance, so the primary limiting factor is deployment of this specific, non-core extension rather than any privilege or configuration barrier. The exact triggering input (which parameter or language-selection feature carries the injectable element) is not specified in the available data, so defenders should confirm the entry point with the Phabricator T399724 ticket.

Impact

The CVSS 4.0 base score of 8.8 (High) is driven by a fully remote, low-complexity, unauthenticated vector (AV:N/AC:L/AT:N/PR:N/UI:N) combined with high availability impact (VA:H) and low confidentiality/integrity impact (VC:L/VI:L), consistent with a code-injection flaw (CWE-74) in the MediaWiki LanguageSelector extension. No EPSS score was supplied, the CVE is NOT listed in CISA KEV, and no public proof-of-concept is referenced - so exploitation is 'no public exploit identified at time of analysis.' This tempers the otherwise alarming vector: the theoretical attack surface is broad and pre-authentication, but there is no evidence of active exploitation or weaponization. A key caveat is that the vector asserts PR:N/UI:N (no privileges, no interaction) while the description only states 'allows Code Injection' without naming the entry point, so the real-world attack path is inferred from the vector rather than confirmed by vendor detail. The practical priority is moderate: patch promptly where the LanguageSelector extension is installed, but the limited deployment footprint of this specific extension (versus MediaWiki core) likely keeps real-world risk below what the raw 8.8 suggests.

Exploit ScenarioDerived

A remote, unauthenticated attacker sends a crafted request to a MediaWiki instance running a vulnerable (pre-1.39) LanguageSelector extension, injecting special elements that are improperly neutralized by a downstream component, resulting in code injection. Per the CVSS vector this needs no authentication or user interaction (PR:N/UI:N) and is low-complexity (AC:L), with the dominant effect being availability disruption (VA:H). No public proof-of-concept exploit is referenced in the available data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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

Code injection in the MediaWiki LanguageSelector extension (versions from master before 1.39) allows remote, unauthenticated attackers to execute arbitrary code on affected MediaWiki instances, resulting in high availability impact and limited confidentiality/integrity compromise. The flaw is an improper neutralization of special elements in output (CWE-74) that are later used by a downstream component. No public exploit code is identified at time of analysis, and MediaWiki core without this extension is unaffected.

RemediationAI

Apply the upstream fix from the Wikimedia Gerrit change I338288e756de4e58a3f1f02a9c205b37f4927935, or upgrade the LanguageSelector extension to version 1.39 or later. This is an upstream fix; a released patched version is not independently confirmed, but the commit addresses the issue. As a compensating control, if the extension is not required, disable or uninstall it to remove the attack surface; side effect is loss of language selection functionality for users. Review the Phabricator ticket T399724 for any additional mitigation details. No vendor patch version is specified beyond the 1.39 target.

Affected ProductsAI

The vulnerability affects the MediaWiki LanguageSelector extension for the MediaWiki platform, specifically versions from the master branch before 1.39. MediaWiki core installations that do not have this extension installed are not affected. No specific CPE strings are provided in the available data. The vendor advisory and fix are documented in the Wikimedia Gerrit change I338288e756de4e58a3f1f02a9c205b37f4927935 and the Phabricator ticket T399724 (https://phabricator.wikimedia.org/T399724).

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 vulnerability class CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) indicates that the LanguageSelector extension fails to properly sanitize or escape user-supplied input before it is passed to another component (e.g., a shell, a template engine, or an API). This can lead to code injection, where an attacker's input is interpreted as code by that downstream component. The affected component is the LanguageSelector extension for MediaWiki, specifically versions from master before 1.39. The exact parameter or feature that carries the injectable element is not detailed in the available data; the Phabricator ticket T399724 and Gerrit change I338288e756de4e58a3f1f02a9c205b37f4927935 provide the upstream fix and likely the technical specifics. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H) and independent CVSS 3.1 assessment (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H) both confirm a fully remote, unauthenticated attack vector with no user interaction, primarily affecting availability.

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 8.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:L/SI:L/SA:L
vuln.today AI 8.6 HIGH

Remote, low-complexity, unauthenticated with no interaction per the extension's network-facing injection; availability impact is high while confidentiality and integrity are low, matching the 4.0 VC:L/VI:L/VA:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/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
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

DescriptionCVE.org

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') vulnerability in The Wikimedia Foundation Mediawiki - LanguageSelector Extension allows Code Injection.This issue affects Mediawiki - LanguageSelector Extension: from master before 1.39.

Executive ViewAI

Why It Matters

The MediaWiki LanguageSelector extension (versions before 1.39) contains a high-severity code injection vulnerability (CVE-2025-62697) that could allow remote attackers to execute arbitrary code on affected MediaWiki instances. Organizations using this extension for multilingual wikis face potential service disruption and data compromise, though MediaWiki core without the extension is unaffected. Leadership should prioritize mitigation because no vendor patch is currently available and the vulnerability poses a significant risk to wiki availability and integrity.

Business Impact: High
Compensating Controls

No vendor patch available. Interim mitigations include disabling the LanguageSelector extension if not required, restricting access to the extension to trusted users, deploying web application firewall rules to block code injection patterns, and monitoring logs for suspicious activity.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche MediaWiki extension, not core; limited installed base
Data Quality
2 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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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

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