Skip to main content

Semantic MediaWiki CVE-2026-126563

| EUVDEUVD-2026-123078 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-11 VulnCheck GHSA-p9g7-73wv-cwgh
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft Special:Ask URL with -F[...] date payload
  2. Delivery
    Send malicious link to logged-in victim
  3. Exploit
    Victim opens reflected Special:Ask result
  4. Execution
    Unescaped markup renders in <time> caption
  5. Persist
    Attacker script runs in wiki session
  6. Impact
    Perform 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 ?Property#-F[...]; the text in brackets is passed to DateTime::format() and emitted inside an unescaped Html::rawElement('time', ...) caption. The attacker needs no account, edit rights, or stored data because every page has a Modification date. LIMITING FACTORS: a logged-in victim must actively open the crafted link (UI:P) for session-meaningful impact; only HTML-rendered printers are affected, while inline {{#ask}} wiki output is sanitized by the MediaWiki parser and is NOT vulnerable; and only versions 2.4.0 up to before 7.4.1 are affected (the raw caption path existed before 7.0.0 and the <time> wrapper since 7.0.0).

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 po printout parameter uses the free date format ?Modification date#-F[...] with backslash-escaped characters that DateTime::format() copies verbatim, smuggling <script>alert(document.domain)</script> into the unescaped <time> caption. The attacker sends this link to a logged-in victim (e.g. a sysop); when opened, the script executes in the wiki origin under the victim's session and can read CSRF tokens and perform edits or admin actions. A complete working PoC URL and a standalone reproduction are published in the GHSA advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

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

SemanticMediaWiki 2.4.0 <7.4.1

Affected Packages

euvd semanticmediawiki fix: 7.4.1

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
popular MediaWiki extension but niche wiki-software deployment footprint
Data Quality
6 sources
Confidence: High

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 Yes
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
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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