CVE-2026-126559 Semantic MediaWiki 4.2.0 before 7.4.1 Stored XSS via Special:FacetedSearch
Users with schema edit rights can store scripts in faceted search profiles that run for every visitor including administrators; Semantic MediaWiki operators should care.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Harmful if only installed
- No
- Needs a specific call
- No
- Fix
- None listed
What is CVE-2026-126559?
CVE-2026-126559 is a medium-severity cross-site scripting vulnerability in SemanticMediaWiki, published on 11 Nov 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Semantic MediaWiki 4.2.0 before 7.4.1 contains a stored cross-site scripting vulnerability in OptionsBuilder::profiles() that allows users with the smw-schemaedit right to inject markup. Attackers can save FACETEDSEARCH_PROFILE_SCHEMA profile keys or labels that break out of option elements, executing scripts for every Special:FacetedSearch visitor including administrators.
Weakness: CWE-79
Which versions are affected by CVE-2026-126559?
An affected version is exposed as installed. No special setting or call is needed.
How do I fix CVE-2026-126559?
No fix has been published for CVE-2026-126559 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-126559 being exploited?
There is no known exploitation of CVE-2026-126559 in the wild and no public exploit code.
Sources
Also known as GHSA-76rx-vmjx-f4fq, GHSA-cw86-j46r-2x7x.