Technical impact
Semantic MediaWiki contains a stored XSS flaw that lets an attacker who can edit pages embed a malicious payload inside a property label. The bug occurs when the formatter renders property label segments after a literal as raw markup, allowing an <img> onerror script to run in the browser of anyone who views Special:Browse or the smwbrowse API. The result is arbitrary client‑side script execution, potentially enabling session hijacking, cookie theft, or page defacement. This is a classic input validation weakness identified as CWE‑79.
Affected Systems
All installations of Semantic MediaWiki 2.5.0 up to, but not including, 7.4.1 are vulnerable. The flaw requires privilege to edit pages, so any user with page‑edit rights can create a malicious property label. The issue is confined to the Semantic MediaWiki core interface exposed through Special:Browse; other components are unaffected.
Risk and Exploitability
The CVSS score of 5.1 reflects a moderate severity; the EPSS score of <1 % indicates a low probability of exploitation at this time, and the issue is not catalogued in CISA’s KEV list. Nonetheless, the vulnerability is publicly known and the exploitation path is trivial for an attacker with edit permissions, especially on sites with permissive editing rights. Once a malicious label is stored, any visitor—including site administrators—will load the attacker‑controlled script simply by accessing Special:Browse or requesting the smwbrowse API. Administrators should therefore assume that the window of opportunity is limited only by the presence of an untrusted editing user.