XSS in Semanticmediawiki
CVE-2026-126564
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 13.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-mc5x-2j… (vendor-advisory)
- github.com/SemanticMediaWiki/SemanticMediaWiki/commit/c9bf9f25549bb2f5eab916339… (patch)
- github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1 (release-notes)
- github.com/SemanticMediaWiki/SemanticMediaWiki/blob/7.4.0/src/MediaWiki/Special… (technical-description)
- www.vulncheck.com/advisories/semantic-mediawiki-2.5.0-before-7.4.1-stored-xss-v… (third-party-advisory)