---
id: "CVE-2026-116882"
kind: "vulnerability"
aliases: ["CVE-2026-116882"]
title: "Semantic MediaWiki: stored XSS via FacetedSearch exploration-link labels"
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: ["no-facetedsearch", "version-7.3.1-or-later"]
published_at: "2026-10-27T11:17:30+00:00"
first_seen_at: "2026-10-27T11:31:27+00:00"
updated_at: "2026-10-27T11:32:19+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116882", "first_seen_at": "2026-10-27T11:31:27+00:00"}]
---

# Semantic MediaWiki: stored XSS via FacetedSearch exploration-link labels

Semantic MediaWiki stores unescaped HTML in FacetedSearch exploration-link labels, which ExploreListBuilder::buildHTML() renders without escaping on Special:FacetedSearch. An authenticated profile or schema editor can inject scripts that run in the browsers of other wiki viewers.

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

## How to check

- Check the installed Semantic MediaWiki version in `composer.lock` or Special:Version; affected range is 4.2.0 up to but not including 7.3.1
- Confirm whether the FacetedSearch feature is in use on the wiki

## Fix

- Upgrade Semantic MediaWiki to `7.3.1` or later

## Timeline

- 2026-10-27T11:31:27+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-116882

## From the sources

Semantic MediaWiki from 4.2.0 before 7.3.1 contains a stored cross-site scripting vulnerability that allows authenticated profile or schema editors to inject HTML through FacetedSearch exploration-link labels. Attackers can store markup in the label, which ExploreListBuilder::buildHTML() passes unescaped to Html::rawElement(), altering the Special:FacetedSearch page and potentially running scripts in viewers' browsers.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
