{"id":"CVE-2026-126559","kind":"vulnerability","aliases":["CVE-2026-126559"],"related":[],"title":"Semantic MediaWiki: stored XSS in faceted search profiles runs scripts","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.","summary":"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.","severity":"medium","cvss":4.8,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["mediawiki","package","self-hosted","semantic-mediawiki"],"not_affected_if":["smw-schemaedit-not-granted","version-7.4.1-or-later"],"how_to_check":"- Check the installed Semantic MediaWiki version in Special:Version or the extension's composer.json or extension.json.\n- 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.","status":"open","published_at":"2026-11-11T03:16:49+00:00","first_seen_at":"2026-11-11T03:24:59+00:00","triaged_at":"2026-11-11T03:26:32+00:00","updated_at":"2026-11-11T03:26:32+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-11T03:26:32Z","model":"claude-haiku-5-5","output":{"fix":"- Semantic MediaWiki: move to `7.4.1` or later.","reach":"network","title":"Semantic MediaWiki: stored XSS in faceted search profiles runs scripts","impact":"medium","summary":"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.","audience":"businesses","category":"package","nicknames":[],"who_cares":["mediawiki","semantic-mediawiki","self-hosted"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"Scripts run in administrators' browsers on the faceted search page","analyst_note":"","how_to_check":"- Check the installed Semantic MediaWiki version in Special:Version or the extension's composer.json or extension.json.\n- Look for users holding the `smw-schemaedit` right and review their recent FACETEDSEARCH_PROFILE_SCHEMA edits.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["version-7.4.1-or-later","smw-schemaedit-not-granted"],"who_is_affected":"Wikis running Semantic MediaWiki from 4.2.0 up to but not including 7.4.1 that grant the smw-schemaedit right to users. Wikis without that right assigned to untrusted accounts have a much smaller exposure, and wikis on managed hosting should check with the host.","user_interaction":"yes","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000764,"input_tokens":4672,"output_tokens":593,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-126559':13A,16A '-2026':12A,15A '4.2.0':28B,67C '7.4.0':30B '7.4.1':69C 'administr':64B,117C 'allow':82C 'attack':93C 'break':46B,104C 'contain':70C 'cross':74C 'cross-sit':73C 'cve':11A,14A 'element':51B,108C 'everi':58B,112C 'execut':109C 'facet':6A 'facetedsearch':62B,96C,114C 'host':21B 'html':49B 'includ':63B,116C 'inject':53B,91C 'key':42B,100C 'label':44B,102C 'let':31B 'markup':92C 'mediawiki':2A,17B,24B,26B,66C 'option':50B,107C 'optionsbuild':79C 'packag':18B 'profil':8A,41B,80C,97C,99C 'right':39B,89C 'run':9A,56B 'save':40B,95C 'schema':98C 'schemaedit':38B,88C 'script':10A,54B,76C,110C 'search':7A 'self':20B 'self-host':19B 'semant':1A,23B,25B,65C 'semantic-mediawiki':22B 'site':75C 'smw':37B,87C 'smw-schemaedit':36B,86C 'special':61B,113C 'store':3A,72C 'user':33B,83C 'version':27B 'visitor':59B,115C 'vulner':77C 'xss':4A","nicknames":[],"mitigations":[],"who_affected":"Wikis running Semantic MediaWiki from 4.2.0 up to but not including 7.4.1 that grant the smw-schemaedit right to users. Wikis without that right assigned to untrusted accounts have a much smaller exposure, and wikis on managed hosting should check with the host.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["mediawiki","medium","package","selfhosted","semanticmediawiki"],"campaign_type":null,"search_a":"'-126559':13A,16A '-2026':12A,15A 'cve':11A,14A 'facet':6A 'mediawiki':2A 'profil':8A 'run':9A 'script':10A 'search':7A 'semant':1A 'store':3A 'xss':4A","search_b":"'4.2.0':28B '7.4.0':30B 'administr':64B 'break':46B 'element':51B 'everi':58B 'facetedsearch':62B 'host':21B 'html':49B 'includ':63B 'inject':53B 'key':42B 'label':44B 'let':31B 'mediawiki':17B,24B,26B 'option':50B 'packag':18B 'profil':41B 'right':39B 'run':56B 'save':40B 'schemaedit':38B 'script':54B 'self':20B 'self-host':19B 'semant':23B,25B 'semantic-mediawiki':22B 'smw':37B 'smw-schemaedit':36B 'special':61B 'user':33B 'version':27B 'visitor':59B","search_c":"'4.2.0':67C '7.4.1':69C 'administr':117C 'allow':82C 'attack':93C 'break':104C 'contain':70C 'cross':74C 'cross-sit':73C 'element':108C 'everi':112C 'execut':109C 'facetedsearch':96C,114C 'includ':116C 'inject':91C 'key':100C 'label':102C 'markup':92C 'mediawiki':66C 'option':107C 'optionsbuild':79C 'profil':80C,97C,99C 'right':89C 'save':95C 'schema':98C 'schemaedit':88C 'script':76C,110C 'semant':65C 'site':75C 'smw':87C 'smw-schemaedit':86C 'special':113C 'store':72C 'user':83C 'visitor':115C 'vulner':77C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-10T23:29:45+00:00","kev":null,"cvss_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/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","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-126559","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126559","severity":null,"published_at":"2026-11-11T03:16:49+00:00","modified_at":"2026-11-11T03:16:49+00:00","first_seen_at":"2026-11-11T03:24:59+00:00","fetched_at":"2026-11-11T03:24:59+00:00","note":null}],"documents":[{"id":122014,"url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/92999fc0de74324aaa35bfd3676cd4d145d2ac06","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":122015,"url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/releases/tag/7.4.1","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":122016,"url":"https://github.com/SemanticMediaWiki/SemanticMediaWiki/security/advisories/GHSA-cw86-j46r-2x7x","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-10T23:29:45+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":122017,"url":"https://www.vulncheck.com/advisories/semantic-mediawiki-4.2.0-before-7.4.1-stored-xss-via-special-facetedsearch","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}