Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft Special:Ask link with script in separator
-
DeliveryDeliver link to wiki user
-
ExploitVictim loads request_type=special_page export
-
ExecutionOutput served as text/html unescaped
-
PersistScript runs under wiki origin
-
ImpactSteal session or 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 a victim to click or load an attacker-crafted Special:Ask URL that sets request_type=special_page (or embed) and places a script payload in CsvFileExportPrinter's valuesep/sep parameter (CSV format) or DsvResultPrinter's separator parameter (DSV format); that path calls getOutput()->disable() and echoes printer output without the normal Content-Disposition/Content-Type file headers, so the response defaults to text/html and the unescaped separator executes. No wiki account or authentication is required to build the link (PR:N), and the enabling feature (smwgRemoteReqFeatures 'send-response') ships enabled by default in extension.json, so stock SMW installs in the 3.0.0-7.3.x range are affected with no admin opt-in. The principal limiting factor is required user interaction (UI:P) - this is reflected, not stored, XSS, so the attacker must deliver the link to a victim; impact is confined to the wiki's own origin. |
| Impact | This is a medium-severity reflected XSS (CWE-79) whose signals are internally consistent and point to a real-but-not-emergency priority. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, score 5.3) shows network reach, low complexity and no required privileges, but exploitation hinges on victim interaction (UI:P) - a user must click or load the attacker's crafted Special:Ask link. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the medium CVSS. There is NO CISA KEV entry and NO EPSS score in the supplied data, so widespread automated exploitation is neither confirmed nor quantified. A detailed public PoC reference exists in the GHSA advisory itself, including a documented live end-to-end reproduction with real script execution in headless Chromium, which raises practical exploitability above a theoretical XSS. The main caveat: this is a reflected (not stored) XSS requiring social engineering to deliver the link, and impact is bounded to the wiki origin (C:L/I:L, no availability impact). Net assessment - a legitimate patch-this-month issue for exposed SMW instances, especially because operators who upgraded for the sibling advisory GHSA-3v2c-r7rx-frc8 may wrongly believe the CSV/DSV separator class is already closed; it is not a drop-everything emergency absent KEV/EPSS escalation signals. |
| Exploit ScenarioDerived | An attacker crafts a Special:Ask URL with request_type=special_page and a <script> payload embedded in the CSV valuesep or DSV separator parameter, then lures a wiki visitor (including a logged-in editor or admin) to click it. Because that request path serves export output as text/html with the separator reflected unescaped, the script executes in the victim's browser under the wiki's own origin, enabling session/cookie theft or actions as the victim. A working PoC reference (with verified live Chromium execution) is published in the GHSA advisory, and no wiki account is needed to construct the malicious link. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Reflected cross-site scripting in SemanticMediaWiki 3.0.0 through 7.3.x allows unauthenticated attackers to execute arbitrary JavaScript in a victim's browser under the wiki's own origin by convincing them to open a crafted Special:Ask URL. The link sets request_type=special_page (or embed) and places a script payload in the CSV printer's valuesep/sep parameter or the DSV printer's separator parameter, which are concatenated into export output without escaping while the response is served as text/html rather than a file download; the enabling feature ships enabled by default, so no administrator opt-in is required and no wiki account is needed to construct the link. Exploitation requires the victim to click or load the link (UI:P), and the GitHub security advisory for this issue documents a proof-of-concept with live end-to-end reproduction, including confirmed script execution in an unmodified Chromium instance against stock vendor source; no CISA KEV listing was provided for this CVE.
RemediationAI
Upgrade to SemanticMediaWiki 7.4.0 or later, which is the fixed version listed for the composer/mediawiki/semantic-media-wiki package; the advisory at https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-54fg-5p78-mhg8 should be treated as the authoritative source. The upstream fix routes CsvFileExportPrinter's valuesep/sep and DsvResultPrinter's separator through the same SeparatorEscaper::escape() helper already applied to the List/Category/Table printers, immediately before implode()/toString(), so no configuration change is needed once the patched release is deployed; verify later that the running code is genuinely 7.4.0 or newer rather than a partially patched tree, since the advisory was filed precisely because an earlier separator fix did not cover these printers. The available sources do not document a vendor-supported workaround, and because the vulnerable path depends on smwgRemoteReqFeatures including 'send-response' by default, a possible compensating control for teams that cannot upgrade immediately is to remove 'send-response' (and avoid special_page/embed request modes) from that setting to make the reflection path unreachable; this is not documented as a mitigation in the advisory, and it would disable remote-request functionality that existing integrations may rely on, so it should be validated against local usage before adoption. Deploying a Content-Security-Policy that blocks inline script would also reduce scripting impact but is a defense-in-depth measure rather than a fix and may break wiki features that depend on inline script.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SemanticMediaWiki's Special:Ask page can return query results through a result printer in a 'special_page' or 'embed' request mode. In that branch (src/MediaWiki/Specials/SpecialAsk.php, roughly lines 308-327), SMW calls getOutput()->disable() and echoes the printer's getResult() output directly, which skips the Content-Disposition: attachment and explicit Content-Type headers normally emitted by outputAsFile(). The response therefore defaults to text/html, so what is nominally a CSV/DSV file export is rendered as a page by the browser. CsvFileExportPrinter (valuesep, sep) and DsvResultPrinter (separator) build their output by concatenating these request parameters directly before implode()/toString()/encodeDSV() with no HTML escaping (CWE-79). The root cause class is improper neutralization of user-controlled input reflected into an HTML response; the same request_type=special_page reflection path is the mechanism named in the sibling advisories for this component, and a shared SeparatorEscaper helper was introduced for the List/Category/Table printer family in GHSA-3v2c-r7rx-frc8 (commits f591f9e17/91e705dd2) but was never wired into the separate FileExportPrinter family. A normal CSV request to the same endpoint does return text/csv with an attachment disposition, which isolates the defect to the special_page path. Comparison of the two vectors shows the vendor-reported CVSS 4.0 score of 5.3 and our assessed CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) agree on the essentials: remote, low complexity, no authentication (PR:N), and a scope change because script executes in the wiki origin rather than the attacker's.
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:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Remote reflected XSS, low complexity, no privileges, but needs victim to load the crafted link (UI:R); script runs in the victim's browser across a trust boundary (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
1DescriptionCVE.org
SemanticMediaWiki from 3.0.0 before 7.4.0 contains a reflected cross-site scripting vulnerability in CsvFileExportPrinter and DsvResultPrinter via unescaped valuesep and separator parameters. Attackers can craft Special:Ask links using request_type=special_page so export output renders as text/html, executing JavaScript in victims' browsers under the wiki origin.
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
EUVD-2026-129135
GHSA-xc3w-6wv3-fr94
NVD
CVE.org
EPSS
VulDB
Exploit-DB