Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft Special:Ask URL with -F[...] date payload
-
DeliverySend malicious link to logged-in victim
-
ExploitVictim opens reflected Special:Ask result
-
ExecutionUnescaped markup renders in <time> caption
-
PersistAttacker script runs in wiki session
-
ImpactPerform edits/admin 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 HTML output surface of Special:Ask (default in Semantic MediaWiki, also reachable via request_type=embed), where a user-supplied printout format uses the free date format |
| Impact | This is a reflected cross-site scripting flaw (CWE-79) with a moderate CVSS 4.0 base score of 5.3 (AV:N/AC:L/AT:N/PR:N/UI:P), reflecting network reach and no attacker privileges but a required victim interaction and only Low confidentiality/integrity impact. The vuln.today decision label is 'this_month' - meaningful but not emergency urgency - and there is no CISA KEV listing and no EPSS value supplied, so there is no signal of active or widespread exploitation; absence of EPSS is a data gap, not evidence of safety. A detailed, working proof-of-concept (exact Special:Ask URL plus a standalone code reproduction against the real IntlTimeFormatter/Deserializer/TimeValueFormatter logic) is published inside the GHSA advisory, so the practical exploitability is high even though the input does not carry a formal 'POC: Publicly available (confirmed)' label. The realistic risk is a targeted social-engineering attack: an attacker must get a logged-in victim (ideally a sysop) to open a crafted link, after which script runs on the wiki origin and can abuse the victim's session (read CSRF tokens, make edits or admin actions). Net: a real, patch-worthy priority for any exposed Semantic MediaWiki install, but not a mass-exploitation emergency - impact is bounded by the need for victim interaction and by the Low technical-impact ratings rather than by any claim of in-the-wild use. |
| Exploit ScenarioDerived | An unauthenticated attacker crafts a Special:Ask URL whose |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Reflected cross-site scripting in Semantic MediaWiki releases 2.4.0 through 7.4.x lets an unauthenticated attacker craft a Special:Ask link whose printout format uses the free date format (?Property#-F[...]); the bracketed text is handed to PHP's DateTime::format() and then emitted unescaped inside an HTML time element, so when a logged-in victim opens the link the attacker's script runs on the wiki origin. Impact is limited to HTML-rendered query printers, and inline {{#ask}} wiki output is sanitized by the MediaWiki parser and unaffected. A public proof-of-concept reproduction is documented in the upstream advisory, and the vendor has released 7.4.1 with escaping applied at the HTML boundary.
RemediationAI
Upgrade Semantic MediaWiki to 7.4.1 or later, which escapes the free-format date caption in getCaptionFromFreeFormat() when the output is HTML while leaving wiki/plain-text output raw, per the fix commit 01cb81a6da7af743d2a5eb334db10e52b7318c56 and the release tag https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1 (advisory: https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-h252-mj7p-58q7). The upstream guidance notes the alternative of permitting only DateTime format characters plus a small safe set of literal characters in the -F[...] format, and that escaping must also cover the unwrapped return path (BCE dates and captions containing <time). Where upgrading is not immediately possible, the exposure is confined to HTML-rendered Special:Ask output, so restricting or blocking access to Special:Ask links carrying user-supplied printout formats (for example at the web server or via wiki permission rules), and treating such links with suspicion, reduces exposure at the cost of losing interactive query-formatting functionality; because the attack is a reflected link that a logged-in user must open, user awareness of untrusted Special:Ask URLs is a stopgap, not a substitute for the escape fix.
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
Semantic MediaWiki extends MediaWiki with structured data queries; its TimeValueFormatter renders date values for query results. When a print request carries an output format containing -F[, getCaptionFromFreeFormat() extracts the bracketed text with a regular expression and passes it to SMW's IntlTimeFormatter, which forwards it to PHP DateTime::format(); non-format characters are copied through verbatim and backslash-escaped letters survive as literals, so arbitrary markup such as <script> can be assembled from the po URL parameter without needing = or ] characters. The caption is then wrapped with Html::rawElement('time', ...) in the HTML_SHORT/HTML_LONG paths, meaning no context escaping is applied before HtmlTable emits the table cell. The root cause class is CWE-79 (improper neutralization of input during web page generation): untrusted data from the printout format reaches an HTML sink, a reflected XSS rather than a stored one because nothing is persisted and every page's Modification date provides a ready-made query target. The upstream fix adds an $asHtml parameter so htmlspecialchars() is applied to the free-format caption only for HTML output, deliberately leaving wiki/plain-text consumers (CSV, API, RSS) raw, and adjusts the preferred-caption paths to know whether they are producing HTML.
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
Unauthenticated remote reflected XSS (AV:N/AC:L/PR:N) needing a victim click (UI:R); script crosses into the browser trust boundary (S:C) with limited session read/write impact (C:L/I:L, A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Semantic MediaWiki 2.4.0 before 7.4.1 contains a reflected cross-site scripting vulnerability in TimeValueFormatter::getCaptionFromFreeFormat(), which emits free-format date captions in HTML without escaping. Unauthenticated attackers can craft a Special:Ask URL with HTML markup in a date printout format (#-F[...]) to execute script in a logged-in victim's browser session.
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.
Related Vulnerabilities in Semantic MediaWiki XSS and Authorization Flaws
View all 9MediaWiki 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-123078
GHSA-p9g7-73wv-cwgh
NVD
CVE.org
EPSS
VulDB
Exploit-DB