{"id":"CVE-2026-126559","summary":"Semantic MediaWiki 4.2.0 before 7.4.1 Stored XSS via Special:FacetedSearch","details":"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.","aliases":["GHSA-cw86-j46r-2x7x"],"modified":"2026-11-12T02:48:34.800236725Z","published":"2026-11-11T02:35:56.604Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126559.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126559.json"},{"type":"ADVISORY","url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1"},{"type":"ADVISORY","url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-cw86-j46r-2x7x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126559"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/semantic-mediawiki-4.2.0-before-7.4.1-stored-xss-via-special-facetedsearch"},{"type":"FIX","url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/92999fc0de74324aaa35bfd3676cd4d145d2ac06"},{"type":"PACKAGE","url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki"},{"type":"ARTICLE","url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/7.4.0/src/MediaWiki/Specials/FacetedSearch/OptionsBuilder.php#L27-L52"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/semanticmediawiki/semanticmediawiki","events":[{"introduced":"0a8af7546b81f6dcab3f336f14023c8e7aea3805"},{"fixed":"bcc3cbf4884f0474232a68d3eff060f93a506379"},{"fixed":"92999fc0de74324aaa35bfd3676cd4d145d2ac06"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"4.2.0"},{"fixed":"7.4.1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"92999fc0de74324aaa35bfd3676cd4d145d2ac06"}]},{"original_tag":"7.4.1","range":[{"fixed":"bcc3cbf4884f0474232a68d3eff060f93a506379"}],"source":"REFERENCES_TAG"}]}}],"versions":["7.4.0","7.3.1","7.3.0","7.2.1","7.2.0","7.1.0","7.0.0","6.0.1","6.0.0","5.1.0","5.0.2","5.0.1","5.0.0","4.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126559.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}