Skip to main content

Semantic MediaWiki EUVDEUVD-2026-123079

| CVE-2026-126564 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-11-11 VulnCheck GHSA-pp7g-x87f-9vf5
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain Property-namespace edit account
  2. Delivery
    Store preferred label with   + img onerror
  3. Exploit
    Victim opens Special:Browse/Property
  4. Execution
    Payload appended to factbox title unescaped
  5. Persist
    Script runs in victim session
  6. Impact
    Act 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 (Has preferred property label / _PPLB, on by default). The attacker must craft a preferred label containing a literal &nbsp; before an HTML payload so the vulnerable explode('&nbsp;', $label) split in ValueFormatter::getFormattedSubject() leaks the attacker segment into the raw-appended factbox title suffix. Execution additionally requires a victim to view Special:Browse/Property:<name> (reached via the '+' browse icon) or the smwbrowse API with type=html, and the advisory notes the victim's UI language must match the stored label's language (e.g. @en). Limiting factors: an authenticated editor account is needed (PR:L, not unauthenticated), and passive user interaction is required to trigger the stored payload; wikis that restrict Property-namespace editing materially reduce exposure.

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 &nbsp; followed by an img onerror payload (e.g. x&nbsp;<img src=x onerror=alert(document.domain)>). When any viewer - including an anonymous reader or an administrator - opens Special:Browse/Property:<name> (or the smwbrowse API with type=html), the payload after the &nbsp; is appended to the factbox title as raw markup and executes in the viewer's session. A detailed proof-of-concept reproduction is published in the GHSA advisory; it is not marked as packaged, verified working exploit code.

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

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

Alert me

AnalysisAIv1 – 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 &nbsp; 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('&nbsp;', $label) with a strrpos-based splitCanonicalLabelSuffix() that separates only the trailing SMW-generated '&nbsp;<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

SemanticMediaWiki 2.5.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 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 '&nbsp;<span style="font-size:small;">(Canonical)</span>'. In ValueFormatter::getFormattedSubject the code checks for the substring '&nbsp;<span' and then calls explode('&nbsp;', $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 &nbsp; 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 '&nbsp;<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

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

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
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.5.0 before 7.4.1 contains a stored cross-site scripting vulnerability in ValueFormatter::getFormattedSubject() that renders property label segments after a literal &nbsp; 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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
widely-used MediaWiki semantic extension, moderate real-world install base
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.2%
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-2025-61682 HIGH POC
8.6 Sep 18

Stored cross-site scripting in Semantic MediaWiki 3.1.0 through 6.x lets users with the MediaWiki 'edit' right inject ar

CVE-2026-77616 MEDIUM POC
6.1 Sep 18

Reflected cross-site scripting in Semantic MediaWiki 7.0.0 through 7.1.0 lets an unauthenticated attacker execute arbitr

CVE-2026-77610 MEDIUM POC
6.1 Sep 18

Reflected cross-site scripting in Semantic MediaWiki 7.1.0 and earlier lets an unauthenticated remote attacker inject ar

CVE-2026-116871 HIGH
8.7 Oct 27

Unauthenticated CPU and memory exhaustion in Semantic MediaWiki 3.0.0 up to (but not including) 7.3.1 allows remote atta

CVE-2026-116878 HIGH
8.7 Oct 27

Semantic MediaWiki before 7.3.1 exposes Special:PropertyLabelSimilarity without an administrator restriction, and a call

CVE-2026-116872 HIGH
8.7 Oct 27

Quadratic CPU consumption in Semantic MediaWiki's term parser gives unauthenticated visitors a way to tie up PHP search

CVE-2026-116877 HIGH
8.7 Oct 27

Semantic MediaWiki 2.5.0 through 7.3.0 lets an editor with ordinary page-edit permission exhaust server CPU, memory and

CVE-2026-116876 HIGH
7.1 Oct 27

Semantic MediaWiki 2.5.0 through 7.3.1-alpha applies annotation-driven page protection without any authorization check,

CVE-2026-116880 HIGH
7.1 Oct 27

Cross-site request forgery in Semantic MediaWiki's Special:SMWAdmin page allows an attacker to drive destructive mainten

CVE-2026-116879 MEDIUM
6.9 Oct 27

Semantic MediaWiki 7.3.0 through 7.3.1-alpha fails to authorize the target page in its smwtask update task, letting a ca

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy