MediaWiki Wikistories
CVE-2025-62701
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain wiki editing access
-
ExploitInject script into Wikistories content
-
ExecutionVictim renders malicious story
-
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 | Requires the Wikimedia Wikistories extension to be installed and enabled on a MediaWiki instance at a version derived from master before 1.44, plus the ability to create or edit a Wikistory (an editing capability that, depending on the wiki's permission model, may be available to registered or anonymous users). The stored payload only triggers when a second user renders the affected story, so exploitation is limited by whether untrusted users can author stories and whether higher-value victims view them; wikis that restrict story creation to trusted editors substantially reduce real-world risk. |
| Impact | This is a medium-severity stored XSS (CWE-79) in the MediaWiki Wikistories extension, carrying a vendor CVSS 4.0 base score of 6.9 (AV:N/AC:L/PR:N/UI:N with Low impact across confidentiality, integrity and availability for both vulnerable and subsequent systems). No EPSS score, no CISA KEV listing, and no public exploit were supplied, so by the precision rules this is 'no public exploit identified at time of analysis' - exploitation is plausible but not demonstrated or widespread. The signals partially conflict: the supplied vector asserts PR:N/UI:N, but a stored XSS realistically requires (a) some ability to write content into a Wikistory - typically an editing account, and (b) a second user to render that story. The PR:N/UI:N scoring is therefore optimistic for most deployments and should be verified against the specific wiki's edit-permission model; on wikis permitting anonymous editing PR:N may hold, but the 'no user interaction' claim is weak since a victim must view the crafted story. Net: a genuine but not emergency-grade issue - patch in normal cycles, prioritize higher if the wiki allows open/anonymous story creation and serves untrusted readers. |
| Exploit ScenarioDerived | An attacker able to create or edit a Wikistory injects JavaScript into a story field that the Wikistories extension fails to neutralize during page generation. When another user - potentially a privileged editor or admin - views the story, the script executes in their browser session, enabling session/cookie theft or actions performed as the victim. No public proof-of-concept was identified. |
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 Wikistories extension (versions derived from master before 1.44) lets an attacker persist crafted markup inside a posted story so that the payload executes in the browser of any later user who renders that story. The independently assessed vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) reflects that an actor must already be able to author a Wikistory and relies on a second party viewing it, while the vendor's CVSS 4.0 base of 6.9 is scored PR:N/UI:N; because the injected script runs in the wiki origin with scope changed, victims can have sessions or on-page actions manipulated and other wiki content read or altered. No CISA KEV listing indicates confirmed active exploitation and no public exploit code has been identified at time of analysis, though the issue is trivially reproducible where untrusted users may create stories; no EPSS data was supplied.
RemediationAI
Remediation status: upstream fix available (PR/commit); released patched version not independently confirmed - the supplied references point to the Wikimedia Gerrit change 1189218, and the CVE description places affected code at master before 1.44, so 1.44 is the version line expected to contain the corrected output encoding and should be treated as the target for upgrade once verified against the deployment's release channel. Administrators who cannot upgrade immediately should disable the Wikistories extension on the affected wiki or restrict story creation and editing to a small trusted group through the wiki's permission configuration, accepting the trade-off that regular or anonymous contributors lose the story feature; because the payload requires a victim to render a poisoned story, purging or reviewing existing story content authored by low-trust users also reduces exposure, and deploying a Content-Security-Policy that blocks inline script would blunt execution at the cost of potentially breaking legitimate wiki and gadget JavaScript. Detail on the fix and any interim guidance is in the Gerrit patch and in Phabricator task T400545 (https://phabricator.wikimedia.org/T400545); until the upgrade is applied, treat the extension as an untrusted-content rendering path and monitor the wiki for script-bearing story content.
Affected ProductsAI
The vulnerability affects the Wikistories extension for MediaWiki at versions derived from master before 1.44, as stated in the CVE description ('Mediawiki - Wikistories: from master before 1.44'); the instance is only exposed if the extension is installed and enabled on that MediaWiki deployment, and no CPE identifiers were included in the upstream record to further narrow the platform matrix. Administrators should confirm whether their wiki loads the Wikistories extension and, if so, whether its codebase predates the 1.44 remediation line. Vendor and tracking references are the Gerrit change at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikistories/+/1189218 and the Wikimedia Phabricator task at https://phabricator.wikimedia.org/T400545, which should be consulted to confirm applicability to a specific deployment's commit or release.
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 a class CWE-79 improper neutralization of input during web page generation, in this case the stored (persistent) variant, inside the Wikistories extension that adds a story-authoring and story-viewing feature to MediaWiki. Wikistories lets contributors assemble existing wiki content into narrative 'stories' that are saved server-side and later re-rendered to other visitors, which makes the extension a classic stored-XSS surface: author-supplied content is persisted in the database or in a story data blob and emitted back into the HTML of a story page without adequate output encoding, so browser-interpreted markup supplied by the author is evaluated in the security context of the wiki origin rather than being displayed as inert text. The technology involved is the MediaWiki extension framework (PHP server side, client-side rendering of story data), and the input-neutralization failure means an author controls a value that reaches a page-generation sink unescaped. Both the vendor CVSS 4.0 vector and the independent CVSS 3.1 assessment assign low confidentiality, integrity and availability impact but a changed scope (S:C), consistent with the injected script acting on behalf of - and against - the wider wiki application and its users rather than being confined to the extension's own component. No CPE strings were supplied with the CVE data, so the affected package must be identified by extension name and version lineage rather than by a normalized platform identifier.
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
Storing the payload requires an editing account (PR:L) and a victim must view the story (UI:R); XSS crosses into the browser (S:C) with low confidentiality/integrity impact 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 - Wikistories allows Stored XSS.This issue affects Mediawiki - Wikistories: from master before 1.44.
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