Stored Cross-Site Scripting in Semantic MediaWiki by Semantic MediaWiki
CVE-2026-126564
5.1MEDIUM
What is CVE-2026-126564?
A stored cross-site scripting vulnerability exists in Semantic MediaWiki versions prior to 7.4.1. This issue arises in the ValueFormatter::getFormattedSubject() function, where property label segments following a literal  are rendered as unescaped markup. If a user with page-edit rights sets a preferred property label containing an img onerror payload, this payload is executed when any user, including administrators, accesses Special:Browse or the smwbrowse API, potentially exposing the site to malicious scripts.
Affected Version(s)
SemanticMediaWiki 2.5.0 < 7.4.1
SemanticMediaWiki 7.4.1
