CVE-2026-116891
SemanticMediaWiki 4.2.0 before 7.2.1 Reflected XSS via Special:FacetedSearch cstate
SemanticMediaWiki from 4.2.0 before 7.2.1 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to inject HTML via unescaped cstate parameters in Special:FacetedSearch. Attackers can craft URLs with q, a matching crc32 csum or filtered=1, and cstate values that break out of hidden input attributes to execute script in victims' browsers.
Fixes and workarounds
Fix
mediawiki/semantic-media-wiki (Packagist): OSV reports a fixed version 7.2.1. Check the advisory for supported release branches.
Source: OSV GHSA-9rcc-pmj8-ffhrAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| SemanticMediaWiki SemanticMediaWiki |
≥ 4.2.0; < 7.2.1 (affected, semver) 7.2.1 (unaffected, semver) Other versions: unaffected |
CNA: VulnCheck |
mediawiki/semantic-media-wikimediawiki/semantic-media-wiki
Packagist |
4.2.0 (affected, Packagist) 5.0.0 (affected, Packagist) 5.0.1 (affected, Packagist) 5.0.2 (affected, Packagist) 5.1.0 (affected, Packagist) 6.0.0 (affected, Packagist) 6.0.1 (affected, Packagist) 7.0.0 (affected, Packagist) 7.1.0 (affected, Packagist) 7.2.0 (affected, Packagist) Ecosystem version events: introduced 4.2.0; fixed 7.2.1 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-9rcc-pmj8-ffhr |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
NVD applicability configurations (1)
These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.
[
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:semantic-mediawiki:semantic_mediawiki:*:*:*:*:*:mediawiki:*:*",
"versionEndExcluding": "7.2.1",
"versionStartIncluding": "4.2.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
]CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 5.1 medium |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | CNA: VulnCheck |
| 3.1 / 6.1 medium |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CNA: VulnCheck |
| 4.0 / 5.1 medium |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: [email protected] |
| 3.1 / 6.1 medium |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD: [email protected] |
Exploit evidence
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-9rcc-pmj8-ffhr
exploit · ADP: CISA-ADP - https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-9rcc-pmj8-ffhr
exploit · [email protected] - https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-9rcc-pmj8-ffhr
exploit · 134c704f-9b21-4f2e-91b3-4a467353bcc0
References
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-9rcc-pmj8-ffhrCNA: VulnCheck · vendor-advisory
- https://www.vulncheck.com/advisories/semanticmediawiki-4.2.0-before-7.2.1-reflected-xss-via-special-facetedsearch-cstateCNA: VulnCheck · third-party-advisory
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-9rcc-pmj8-ffhrADP: CISA-ADP · exploit
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-9rcc-pmj8-ffhr[email protected] · Exploit, Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/semanticmediawiki-4.2.0-before-7.2.1-reflected-xss-via-special-facetedsearch-cstate[email protected] · Third Party Advisory
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-9rcc-pmj8-ffhr134c704f-9b21-4f2e-91b3-4a467353bcc0 · Exploit, Mitigation, Vendor Advisory
- https://github.com/advisories/GHSA-9rcc-pmj8-ffhrOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-9rcc-pmj8-ffhrOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.