CVE-2026-126559: Semantic MediaWiki stored cross-site scripting in FacetedSearch

CVE-2026-126559 · Severity: medium · CVSS 4.8 · Published 2026-11-11

Semantic MediaWiki is an extension for MediaWiki that enables semantic data management and querying. A stored cross-site scripting vulnerability in the FacetedSearch component allows users with schema editing rights to inject malicious scripts that execute for all visitors viewing the search interface, including administrators, potentially leading to account compromise or administrative action manipulation.

Technologies: Semantic MediaWiki. Vendors: Semantic MediaWiki.

Quick answers

Is CVE-2026-126559 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-126559 being exploited in the wild.
How severe is CVE-2026-126559?
Medium severity, with a CVSS score of 4.8, published 11 November 2026.
Which products and versions are affected?
Semantic MediaWiki 4.2.0 before 7.4.1.
Is there a fix for CVE-2026-126559?
Yes: fixed in 7.4.1. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-126559 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-126559?
Check whether you run Semantic MediaWiki at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 7.4.1

Technical details

The OptionsBuilder::profiles() method in FacetedSearch interpolates profile keys and labels directly into HTML option elements without proper escaping. An attacker with the smw-schemaedit permission can author a FACETEDSEARCH_PROFILE_SCHEMA containing malicious markup that breaks out of the value attribute and injects JavaScript. The payload persists in the schema configuration and executes for every visitor of Special:FacetedSearch, including administrators.

Affected products

  • Semantic MediaWiki Semantic MediaWiki 4.2.0 before 7.4.1

Timeline

  • 2026-11-11: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.