MediaWiki WikiLambda
CVE-2025-62695
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain wiki content-editing access
-
DeliverySubmit crafted WikiLambda input
-
ExploitPayload stored without neutralization
-
ExecutionVictim loads affected page
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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.
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 - WikiLambda Extension allows Stored XSS.This issue affects Mediawiki - WikiLambda Extension: master.
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