Skip to main content

MediaWiki Wikistories CVE-2025-62701

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 editing access
  2. Exploit
    Inject script into Wikistories content
  3. Execution
    Victim renders malicious story
  4. 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

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.

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

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 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/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 - Wikistories allows Stored XSS.This issue affects Mediawiki - Wikistories: from master before 1.44.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche Wikimedia extension, limited deployment beyond a few wikis
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 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