CVE-2026-126559

Semantic MediaWiki 4.2.0 before 7.4.1 Stored XSS via Special:FacetedSearch

Published Nov 11, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Semantic MediaWiki contains a stored cross‑site scripting flaw in OptionsBuilder::profiles() that allows users with the smw-schemaedit right to inject malicious markup. Attacker‑crafted FACETEDSEARCH_PROFILE_SCHEMA profile keys or labels that break out of option elements, causing scripts to execute for every visitor of the Special:FacetedSearch page, including administrators. This vulnerability is classified as CWE‑79 and provides arbitrary client‑side code execution when the page is rendered.

Affected Systems

Versions of Semantic MediaWiki from 4.2.0 up to, but not including, 7.4.1 are affected. The vulnerability is present in the code base prior to the 7.4.1 release that applies the fix.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate risk level. The EPSS score is below 1%, suggesting a low probability of exploitation in the wild. This vulnerability is not listed in CISA KEV. Exploitation requires that the attacker has smw-schemaedit rights. Once injected, the payload runs on every visitor of Special:FacetedSearch, including administrators.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Semantic MediaWiki to version 7.4.1 or later to apply the official fix.
  • Restrict the smw-schemaedit permission to trusted users only, reducing the number of actors who can create malicious profiles.
  • Sanitize or filter custom profile inputs, and consider implementing strict output escaping or a Content Security Policy to mitigate any residual XSS impact.

Generated by OpenCVE AI on November 13, 2026 at 20:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Semantic MediaWiki 4.2.0 before 7.4.1 Stored XSS via Special:FacetedSearch
First Time appeared Semantic-mediawiki
Semantic-mediawiki semantic Mediawiki
Weaknesses CWE-79
CPEs cpe:2.3:a:semantic-mediawiki:semantic_mediawiki:*:*:*:*:*:mediawiki:*:*
Vendors & Products Semantic-mediawiki
Semantic-mediawiki semantic Mediawiki
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 13, 2026, 4:36 PM
Reserved
Nov 11, 2026, 1:08 AM
Status
Awaiting Analysis
Published
Nov 11, 2026, 3:16 AM
Modified
Nov 13, 2026, 5:17 PM