Skip to main content

MediaWiki WikiLambda CVE-2025-62695

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-21 c4f26cc8-17ff-4c99-b5e2-38fc1793eacc
6.9
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
    Obtain wiki content-editing access
  2. Delivery
    Submit crafted WikiLambda input
  3. Exploit
    Payload stored without neutralization
  4. Execution
    Victim loads affected page
  5. 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

Exploitation requires the attacker to be able to submit and persist content through the WikiLambda extension (the stored injection vector), and a separate victim must subsequently view the page containing the stored payload for the script to execute. The supplied CVSS 4.0 vector marks PR:N and UI:N, implying the content-creation path is reachable without authentication and the victim needs no special interaction beyond normally browsing the affected page; this is realistic only on wikis permitting open/anonymous editing of the relevant WikiLambda objects, and is LIMITED where the deployment restricts editing to authenticated or privileged accounts. Impact is further limited to client-side execution in the victim's browser within the wiki origin (Low C/I/A), not server-side code execution. Applies to the WikiLambda extension at 'master'; a fixed revision corresponds to Gerrit change 1173952.

Impact

This is a moderate-priority stored XSS (CWE-79) in the Wikimedia WikiLambda extension, and the signals are internally consistent toward 'real but not urgent.' The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes network-reachable, low-complexity exploitation with only Low impact to confidentiality, integrity, and availability on both the vulnerable and subsequent systems, yielding a mid-range 6.9 - typical of stored XSS where impact is bounded to the victim's browser session rather than the server. EPSS is low at 0.34% (26th percentile), indicating little observed/predicted exploitation activity, and there is no CISA KEV listing and no public exploit identified, so exploitation status is 'no public exploit identified at time of analysis.' The signals do not conflict: a low EPSS alongside no KEV and only Low technical impact supports treating this as a routine patch-management item rather than an emergency. One caveat worth verifying: the vector asserts PR:N (unauthenticated), yet stored XSS normally requires the attacker to place persistent content, which on most MediaWiki deployments presumes at least an editing-capable account; the PR:N scoring is plausible only where the wiki permits anonymous/open content creation (as Wikimedia projects sometimes do) - verify the actual editing permission model for the affected feature. Note also the affected version is only listed as 'master,' so fixed-release boundaries are not clearly defined in the input.

Exploit ScenarioDerived

An attacker with the ability to create or edit WikiLambda content (a ZObject/function definition or related field) injects a crafted payload that is not properly neutralized during web page generation and is stored by the wiki. When another user - potentially an administrator or editor - later views the affected page, the script executes in their browser session in the context of the wiki origin. No public exploit code is identified, and exploitation is low-complexity but limited to Low client-side impact (session/UI actions), not server compromise.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

Stored cross-site scripting in the MediaWiki WikiLambda extension allows content persisted through the extension to execute arbitrary JavaScript in the browser of any user who subsequently views the affected page. The affected target is the WikiLambda extension at the 'master' branch; the effective privilege requirement depends on the wiki's editing configuration, since the supplied CVSS 4.0 vector states PR:N (no privileges required) while the independent assessment rates the vector as PR:L (authenticated contributor). No public exploit code has been identified at time of analysis (EPSS 0.34%, 26th percentile), and impact is bounded to client-side execution in the victim's browser within the wiki origin (Low confidentiality, integrity and availability), not server-side code execution or compromise.

RemediationAI

Update the WikiLambda extension to a revision that includes Gerrit change 1173952 (the upstream fix for Phabricator task T400500); because the reference is a Gerrit changeset rather than a tagged release, the patched version is not independently confirmed, so validate the deployed commit hash after applying. Advisories and tracking are at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/1173952 and https://phabricator.wikimedia.org/T400500. If immediate deployment is not possible, restrict the ability to create and edit WikiLambda/ZObject content to trusted, authenticated users or specific rights groups - this removes the anonymous content-injection path the fix addresses, but it degrades open contribution workflows on wikis that rely on public editing. As further compensating controls, enforce a Content-Security-Policy with a strict script-src that blocks inline script execution in the wiki origin (trade-off: may break gadgets, inline templates or legitimate inline scripts and requires testing), and set session cookies with HttpOnly and SameSite protections to limit theft of session tokens, though this does not stop the XSS itself. Since the impact is limited to client-side execution with Low C/I/A and there is no public exploit or KEV confirmation, treat this as a scheduled patch rather than an emergency, prioritizing wikis that allow anonymous editing of WikiLambda objects.

Affected ProductsAI

The Wikimedia MediaWiki WikiLambda extension is affected at the 'master' branch, per the CVE record; the update resolves the issue via Gerrit change 1173952 (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/1173952), with coordination tracked in Phabricator task T400500 (https://phabricator.wikimedia.org/T400500). Deployments running the extension on a revision prior to that change - including wikis where WikiLambda objects can be created or edited by untrusted or anonymous contributors - should be considered exposed; sites hosting the extension without anonymous editing capability are still vulnerable to stored payloads injected by any account able to persist content.

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

WikiLambda is the MediaWiki extension that underpins Wikifunctions and Abstract Wikipedia, letting users define, store and render functions and ZObjects as structured wiki content. The flaw is CWE-79, improper neutralization of input during web page generation: user-supplied content handled by WikiLambda is rendered into wiki HTML without adequate escaping, so a stored payload is emitted as executable script rather than inert text. Because the injection is stored, it persists in wiki data and fires for every later visitor of the affected page, which is why the impact spans both the vulnerable component and subsequent systems (S:C in the CVSS 3.1 assessment) while remaining client-side only, confined to the victim's browser session within the MediaWiki origin. The 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity path; the independent 3.1 assessment (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) moderates this by noting that content creation generally requires an editing-capable account, and that anonymous-reachable exploitation is realistic only on wikis that permit open editing of the relevant WikiLambda objects. A fixed revision corresponds to Gerrit change 1173952, tracked in Phabricator task T400500.

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

Stored XSS needs content-editing ability (PR:L), executes in the victim origin without attacker-controlled interaction (UI:N, S:C), with Low confidentiality/integrity and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/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
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

DescriptionCVE.org

Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in The Wikimedia Foundation Mediawiki - WikiLambda Extension allows Stored XSS.This issue affects Mediawiki - WikiLambda Extension: master.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche MediaWiki extension, primarily Wikimedia Wikifunctions, not broadly deployed
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
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
Yes
Human Impact· derived
Medium

Priority Score

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

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