Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Property-namespace edit account
-
DeliveryStore preferred label with + img onerror
-
ExploitVictim opens Special:Browse/Property
-
ExecutionPayload appended to factbox title unescaped
-
PersistScript runs in victim session
-
ImpactAct as victim via CSRF token
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 an account with edit rights in the Property namespace (open by default on a standard install) and the 'preferred-label' DataValue feature enabled ( |
| Impact | This is a stored XSS (CWE-79) in Semantic MediaWiki's Special:Browse factbox title, best characterized as a moderate, authenticated-attacker issue rather than a top-priority emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N, base 5.1) is internally consistent with the mechanism: network-reachable, low complexity, but requiring PR:L (an account with Property-namespace edit rights - open by default) and passive user interaction (a victim must view the affected page). The vuln.today Decision label is 'this_month', indicating a planned-remediation rather than act-now/emergency posture. No CISA KEV listing is present (not confirmed actively exploited) and no EPSS score was supplied, so widespread automated exploitation probability cannot be quantified from the input. A detailed, source-grounded reproduction is published in the GHSA advisory and corroborated by VulnCheck, so a public PoC reference exists even though the input does not mark it as packaged, verified working exploit code. The main severity signals are coherent; the chief caveat is that real-world risk hinges on how open the Property namespace is on a given wiki and whether high-value viewers (administrators) traverse the '+' browse link - defenders should weigh that locally. |
| Exploit ScenarioDerived | An ordinary editor with Property-namespace rights saves a Property page whose 'Has preferred property label' contains a literal followed by an img onerror payload (e.g. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
Stored cross-site scripting in Semantic MediaWiki (2.5.0 through 7.4.0) lets an authenticated user who can edit a Property: page plant markup that executes in the browser of anyone - administrators included - who later opens that property's Special:Browse factbox or calls the smwbrowse API with type=html. The flaw is authenticated (CVSS vector PR:L) and requires passive victim interaction (UI:R), and it only fires when the attacker's preferred property label embeds a literal ahead of the payload so that the vulnerable split leaks the attacker segment into the raw-appended title suffix. No CISA KEV entry or confirmed standalone exploit code was reported at time of analysis, though the upstream advisory documents a step-by-step reproduction; the vendor has released 7.4.1 as the fix.
RemediationAI
Vendor-released patch: upgrade Semantic MediaWiki to 7.4.1, which is the first fixed release in the affected branch; the fix is commit c9bf9f25549bb2f5eab916339b267a1732002c4c and is published at https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1 with the advisory at https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-mc5x-2j7v-x8hp. The patch replaces the first-occurrence explode(' ', $label) with a strrpos-based splitCanonicalLabelSuffix() that separates only the trailing SMW-generated ' <span' canonical-label hint, so any attacker-supplied markup stays on the caption path that getLongHTMLText() sanitizes; the advisory's alternative design is to have PropertyValueFormatter return the label and canonical hint separately, or to escape the preferred label inside getFormattedLabel and let getFormattedSubject build the hint from the property's canonical label. If 7.4.1 cannot be deployed immediately, the highest-value compensating control is to restrict write access to the Property namespace (for example through namespace protection or group permissions) so untrusted editors cannot store a malicious preferred label; the trade-off is that legitimate semantic annotation work must then go through a trusted group. Note that the payload also reaches viewers through the smwbrowse API with type=html, so any mitigation that only hides or disables Special:Browse does not close the API path.
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 is a MediaWiki extension that stores structured annotations on Property: pages, and CWE-79 arises here from mixing an attacker-influenced string with trusted HTML markup. The property 'preferred label' (Has preferred property label, _PPLB) is written by editors through the #set parser function; MonolingualTextValueParser stores the text@lang argument verbatim and StringValueFormatter (WIKI_SHORT) neither escapes nor decodes entities on retrieval, so the raw label survives intact. PropertyValueFormatter::getFormattedLabel then concatenates that raw label with an SMW-generated canonical-label hint of the form ' <span style="font-size:small;">(Canonical)</span>'. In ValueFormatter::getFormattedSubject the code checks for the substring ' <span' and then calls explode(' ', $label), treating the first segment as the link caption (passed through getLongHTMLText, which sanitizes) and appending the remaining segment unescaped. Because the attacker's own comes first, the payload after it lands in the unsanitized suffix; without it, the payload stays inside the escaped caption and the page is safe. HtmlBuilder passes the result as 'html-title' into templates/Factbox.mustache, which renders it as {{{html-title}}} (unescaped), and the same path feeds both the server-rendered legacy Special:Browse view and api.php?action=smwbrowse&browse=subject with type=html, whose JSON result ext.smw.special.browse.js inserts into the DOM. The upstream fix (commit c9bf9f25) replaces the explode with a strrpos-based splitCanonicalLabelSuffix() that separates only the last ' <span' occurrence, keeping user-influenced text on the sanitized caption path.
Know when Semanticmediawiki 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:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Authenticated editor stores the payload (PR:L), a viewer must load the page (UI:R), and script executing in the victim's browser context crosses a trust boundary (S:C) with limited C/I impact and no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Semantic MediaWiki 2.5.0 before 7.4.1 contains a stored cross-site scripting vulnerability in ValueFormatter::getFormattedSubject() that renders property label segments after a literal as unescaped markup. Users with page-edit rights can set a preferred property label containing an img onerror payload that executes when anyone, including administrators, views Special:Browse or the smwbrowse API.
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 9More in Semanticmediawiki
View allStored cross-site scripting in Semantic MediaWiki 3.1.0 through 6.x lets users with the MediaWiki 'edit' right inject ar
Reflected cross-site scripting in Semantic MediaWiki 7.0.0 through 7.1.0 lets an unauthenticated attacker execute arbitr
Reflected cross-site scripting in Semantic MediaWiki 7.1.0 and earlier lets an unauthenticated remote attacker inject ar
Unauthenticated CPU and memory exhaustion in Semantic MediaWiki 3.0.0 up to (but not including) 7.3.1 allows remote atta
Semantic MediaWiki before 7.3.1 exposes Special:PropertyLabelSimilarity without an administrator restriction, and a call
Quadratic CPU consumption in Semantic MediaWiki's term parser gives unauthenticated visitors a way to tie up PHP search
Semantic MediaWiki 2.5.0 through 7.3.0 lets an editor with ordinary page-edit permission exhaust server CPU, memory and
Semantic MediaWiki 2.5.0 through 7.3.1-alpha applies annotation-driven page protection without any authorization check,
Cross-site request forgery in Semantic MediaWiki's Special:SMWAdmin page allows an attacker to drive destructive mainten
Semantic MediaWiki 7.3.0 through 7.3.1-alpha fails to authorize the target page in its smwtask update task, letting a ca
EUVD-2026-123079
GHSA-pp7g-x87f-9vf5
NVD
CVE.org
EPSS
VulDB
Exploit-DB