MediaWiki BlueSky
CVE-2025-62665
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain wiki edit capability
-
DeliveryInject stored XSS payload into BlueSky-rendered field
-
ExploitVictim loads affected page
-
ExecutionScript executes in victim browser
-
ImpactHijack session / act 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 attacker to store a malicious script into content rendered by the BlueSky skin, which in a typical MediaWiki deployment means at least edit access to a page or input field processed by the skin; the payload then executes only when a victim subsequently loads that page (passive user interaction). Limiting factors: affected scope is Skin:BlueSky specifically (wikis not using this skin are unaffected), the versions are master before 1.39, and realistic exploitation depends on whether the wiki allows open/anonymous editing versus restricting editing to accounts. The supplied CVSS PR:N/UI:N implies no auth and no interaction, but for stored XSS this is unlikely - verify editing-permission requirements against the Wikimedia advisory. |
| Impact | This is a stored XSS (CWE-79) in the MediaWiki Skin:BlueSky, rated CVSS 4.0 base 6.9 (Medium). The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:L/SA:L) describes a network-reachable, low-complexity issue with limited confidentiality/integrity/availability impact and no subsequent-system (browser) scope impact. Two signals point to LOW real-world priority: EPSS is 0.45% (37th percentile), it is NOT on the CISA KEV list, and no public exploit code was provided - so exploitation status is 'no public exploit identified at time of analysis.' There is a notable INTERNAL CONFLICT in the supplied metrics: the vector claims PR:N and UI:N, yet a STORED XSS almost always requires (a) some privilege to persist the payload into a wiki page/field and (b) a victim to subsequently render that page - i.e., realistically PR:L and UI:P/R. Treat the PR:N/UI:N rating as likely overstated; verify against the Wikimedia Gerrit/Phabricator records. Overall: a genuine but lower-tier web vulnerability in a niche skin, not a widespread or actively-exploited emergency. |
| Exploit ScenarioDerived | An attacker with the ability to edit wiki content (e.g., an authenticated contributor or, on an open wiki, any editor) injects a malicious script payload into a field rendered by the BlueSky skin. The payload is stored and later executed in the browser of any user or administrator who views the affected page, enabling session/cookie theft or actions in the victim's authenticated context. No public exploit code was provided, so this scenario is inferred from the CWE-79 stored-XSS classification rather than a demonstrated PoC. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 09, 2026
Stored cross-site scripting in the MediaWiki Skin:BlueSky allows an attacker who can inject content rendered by the skin to execute arbitrary JavaScript in the browsers of users who later view the affected page. Affected deployments are MediaWiki installations using the Skin:BlueSky skin on master before 1.39; wikis not using this skin are unaffected. The vendor CVSS 4.0 score is 6.9 (Medium) with a PR:N/UI:N vector, but the independent assessment is CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, indicating that practical exploitation likely requires content-injection or edit privileges and victim interaction. No CISA KEV entry is present and no public exploit identified at time of analysis; EPSS is 0.45 percent (37th percentile), indicating low predicted exploitation activity.
RemediationAI
Apply the upstream Gerrit fix at https://gerrit.wikimedia.org/r/q/I64c9e2983ed6629505f72ef9449c09137b3c69ae; upstream fix available (Gerrit change), released patched version not independently confirmed. The affected range is master before 1.39, so upgrade to a release containing this change; if 1.39 or later includes the fix, moving to that version is the preferred remediation, but verify against the vendor advisory before relying on the version number alone. If immediate upgrade is not possible, disable the BlueSky skin on the wiki (side effect: users lose that skin's layout and features) or restrict edit and create permissions to trusted accounts so attackers cannot store the malicious payload (trade-off: reduced open editing). As a defense-in-depth measure, deploy a Content Security Policy that blocks inline and unauthorized scripts where compatible (trade-off: may break legitimate skin scripts) and audit rendered pages or inputs for stored script. Track vendor updates via https://phabricator.wikimedia.org/T401046 and the Gerrit change.
Affected ProductsAI
MediaWiki Skin:BlueSky, described as affected from master before 1.39. This is a MediaWiki skin component, so exposure is limited to MediaWiki wikis that install and enable the BlueSky skin; wikis using other skins are not affected. No CPE strings or vendor CPE mapping were provided in the input. Vendor references for affected code and tracking are the Gerrit change at https://gerrit.wikimedia.org/r/q/I64c9e2983ed6629505f72ef9449c09137b3c69ae and the Phabricator task at https://phabricator.wikimedia.org/T401046.
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 root cause is CWE-79, improper neutralization of user-controllable input during web page generation by the MediaWiki Skin:BlueSky. MediaWiki skins are rendering components that output HTML, CSS, and JavaScript around page content; if the BlueSky skin fails to escape or sanitize stored input before echoing it, the payload persists and executes for subsequent viewers. The affected code range is master before 1.39, and the supplied references point to upstream Gerrit change https://gerrit.wikimedia.org/r/q/I64c9e2983ed6629505f72ef9449c09137b3c69ae and Phabricator task https://phabricator.wikimedia.org/T401046. No CPE strings were supplied, so exact product and version mapping is limited to the Skin:BlueSky component. The independent assessment's CVSS 3.1 vector has PR:L and UI:R, so this should be treated as an authenticated or privileged stored-content injection requiring a victim to load the poisoned page, even though the vendor CVSS 4.0 vector lists PR:N and UI:N.
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:N/SI:L/SA:L
Stored XSS typically needs editor privileges (PR:L) and a victim viewing the page (UI:R); payload executing in the browser crosses a trust boundary (S:C) with limited C/I 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 Wikimedia Foundation Mediawiki - Skin:BlueSky allows Stored XSS.This issue affects Mediawiki - Skin:BlueSky: from master before 1.39.
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