---
id: "CVE-2026-126559"
page: "https://infrastack.ai/live/CVE-2026-126559"
kind: "vulnerability"
aliases: ["CVE-2026-126559"]
title: "Semantic MediaWiki: stored XSS in faceted search profiles runs scripts"
severity: "medium"
cvss: 4.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["mediawiki", "package", "self-hosted", "semantic-mediawiki"]
not_affected_if: ["smw-schemaedit-not-granted", "version-7.4.1-or-later"]
published_at: "2026-11-11T03:16:49+00:00"
first_seen_at: "2026-11-11T03:24:59+00:00"
updated_at: "2026-11-11T03:26:32+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126559", "first_seen_at": "2026-11-11T03:24:59+00:00"}]
exploit_sources: []
---

# Semantic MediaWiki: stored XSS in faceted search profiles runs scripts

Link for people: https://infrastack.ai/live/CVE-2026-126559 (this .md is for agents)

Semantic MediaWiki versions 4.2.0 through 7.4.0 let a user with the smw-schemaedit right save profile keys or labels that break out of HTML option elements. The injected script then runs for every visitor of Special:FacetedSearch, including administrators.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Semantic MediaWiki version in Special:Version or the extension's composer.json or extension.json.
- Look for users holding the `smw-schemaedit` right and review their recent FACETEDSEARCH_PROFILE_SCHEMA edits.

## Fix

- Semantic MediaWiki: move to `7.4.1` or later.

## Timeline

- 2026-11-11T03:24:59+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126559

## Documents

- [advisory] Vendor advisory: github.com https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-cw86-j46r-2x7x
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/semantic-mediawiki-4.2.0-before-7.4.1-stored-xss-via-special-facetedsearch
- [fix] Patch: github.com https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/92999fc0de74324aaa35bfd3676cd4d145d2ac06
- [fix] Release notes: github.com https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
