Skip to main content

MediaWiki ExternalGuidance CVE-2025-62698

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-20 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 content-submission access to ExternalGuidance
  2. Delivery
    Store crafted script payload in persisted field
  3. Exploit
    Victim loads affected wiki page
  4. Execution
    Payload executes in victim browser
  5. Impact
    Hijack session or perform actions as victim

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 ExternalGuidance extension to be installed and enabled on a MediaWiki instance, and the attacker must be able to persist attacker-controlled input through the extension's content-handling path (stored XSS implies a save/edit capability, whose availability depends on the wiki's editing/permission configuration). Execution then requires a victim to view the page containing the stored payload. Limiting factors: the attack surface exists only where this specific extension is deployed (not default MediaWiki core), payload delivery depends on how open the wiki's editing permissions are, and impact is scoped to the viewer's browser session rather than the server. The vendor's PR:N/UI:N rating likely reflects the victim's viewing step, not the injection step, which in practice needs content-write access.

Impact

This is a stored (persistent) Cross-Site Scripting flaw (CWE-79) in the MediaWiki ExternalGuidance extension, rated CVSS 4.0 6.9 (Medium) by the vendor. The signals are consistent and point to a real-but-not-urgent issue rather than a top-tier emergency. EPSS is low at 0.34% (26th percentile), indicating low modeled likelihood of exploitation in the near term, and there is no CISA KEV listing and no public exploit identified at time of analysis - so no evidence of active or imminent exploitation. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes remote, low-complexity, unauthenticated triggering, but this conflicts with the nature of a STORED XSS: injecting the payload almost always requires the ability to save content (an editing capability), so the PR:N rating is questionable and should be read as 'no privileges to VIEW the poisoned page' rather than 'no privileges to PLANT it' - verify with the vendor. No SSVC decision data was supplied. The low impact sub-scores (VC:L/VI:L/VA:L) reflect that a single stored payload affects browser sessions of viewers rather than fully compromising the server. Net: a legitimate issue to patch on a normal cadence, not a drop-everything priority, and its real-world reach is limited by the narrow deployment of this specific extension.

Exploit ScenarioDerived

An attacker with the ability to save content through the ExternalGuidance extension (e.g., via an editable field or translation-guidance input) stores a malicious script payload. When another user - potentially a privileged editor or admin - views the affected page, the script executes in their browser session, enabling session/cookie theft or actions performed as the victim. No public exploit code has been identified at time of analysis.

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 (XSS) in the MediaWiki ExternalGuidance extension allows attackers to inject persistent JavaScript into wiki pages that executes in the browsers of users who view them. The flaw (CWE-79) affects ExternalGuidance builds prior to version 1.39; no public exploit identified at time of analysis, and EPSS is low at 0.34% (26th percentile). Exploitation requires the extension to be installed and enabled, and in practice requires the ability to persist attacker-controlled content on the wiki, which depends on the site's editing permissions and could mean an authenticated contributor.

RemediationAI

Apply the upstream fix by upgrading the ExternalGuidance extension to version 1.39 or later, or by directly applying the Gerrit change I8bfb3c2766982f6633f47ed35720d4d9f51da71d. If patching is not immediately possible, disable the ExternalGuidance extension entirely (trade-off: loss of external guidance and onboarding features for users) or restrict content-creation and editing permissions to trusted contributors (trade-off: reduced collaboration, but the stored XSS requires the ability to persist input, so limiting write access directly blocks injection). As defense in depth, consider enabling a restrictive Content Security Policy to limit the impact of any injected scripts. Consult the Phabricator advisory at https://phabricator.wikimedia.org/T399662 for additional vendor guidance and patch confirmation.

Affected ProductsAI

MediaWiki installations running the ExternalGuidance extension prior to version 1.39, with the advisory description specifying an affected range of 'from master before 1.39'. The extension is not enabled by default in MediaWiki core, so only wikis that have explicitly installed and enabled ExternalGuidance are exposed. No CPE identifiers were present in the provided intelligence. Source references include the Wikimedia Phabricator task https://phabricator.wikimedia.org/T399662 and the Gerrit change https://gerrit.wikimedia.org/r/q/I8bfb3c2766982f6633f47ed35720d4d9f51da71d.

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

This is a classic stored (persistent) cross-site scripting issue (CWE-79) affecting the MediaWiki ExternalGuidance extension, which is not part of MediaWiki core and must be explicitly installed. The extension fails to properly neutralize user-supplied input during web page generation, so attacker-controlled content is stored and later rendered into HTML without sufficient encoding, causing script execution in the context of the victim's browser session. The vendor rates the issue CVSS 4.0 6.9 (Medium) with a PR:N/UI:N vector, but our independent assessment assigns CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, reflecting that the injection step requires content-write access even though viewing the poisoned page requires no interaction from the victim. No CPE identifiers were provided in the source data, but the affected code path is the ExternalGuidance extension's content-handling logic as used by MediaWiki installations. The referenced Gerrit change (I8bfb3c...) and Phabricator task (T399662) provide the upstream technical fix and discussion.

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-save access so PR:L not PR:N; script runs in a different security context giving S:C; limited confidentiality/integrity impact and no availability effect.

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 - ExternalGuidance allows Stored XSS.This issue affects Mediawiki - ExternalGuidance: from master before 1.39.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche MediaWiki translation extension, not a default-installed core component
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