{"answers":{"affected":"2 open source packages ship an affected version, including mediawiki/semantic-media-wiki. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-116891 in the wild and no public exploit code.","fix":"Upgrade mediawiki/semantic-media-wiki to 7.2.1 or later.","what":"CVE-2026-116891 is a medium-severity vulnerability in SemanticMediaWiki, published on 27 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-116891 and fix it if it is affected.\n\nWhat it is: CVE-2026-116891 is a medium-severity vulnerability in SemanticMediaWiki, published on 27 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-116891 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mediawiki/semantic-media-wiki (Packagist): affected from 4.2.0; fixed in 7.2.1\n- mediawiki/semantic-media-wiki (Packagist): affected from 4.2.0; fixed in 7.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-116891/ (Markdown: https://insights.sbomify.com/CVE-2026-116891/index.md)","id":"CVE-2026-116891","markdown":"https://insights.sbomify.com/CVE-2026-116891/index.md","name":"CVE-2026-116891","record":{"aliases":["GHSA-8x9p-9f27-hxfj","GHSA-9rcc-pmj8-ffhr"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","cpe":[{"product":"semantic_mediawiki","vendor":"semantic-mediawiki"}],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"SemanticMediaWiki 4.2.0 before 7.2.1 Reflected XSS via Special:FacetedSearch cstate","id":"CVE-2026-116891","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"SemanticMediaWiki 3.1.0 before 7.3.1 Reflected XSS via Special:Search smw Profile","id":"CVE-2026-116892"},"packages":[{"ecosystem":"Packagist","fixed":["7.2.1"],"introduced":["4.2.0"],"last_affected":[],"package":"mediawiki/semantic-media-wiki","purl":null,"source":"GHSA-9rcc-pmj8-ffhr"},{"ecosystem":"Packagist","fixed":["7.2.1"],"introduced":["4.2.0"],"last_affected":[],"package":"mediawiki/semantic-media-wiki","purl":"pkg:composer/mediawiki/semantic-media-wiki","source":"GHSA-9rcc-pmj8-ffhr"}],"prev":{"headline":"Semantic MediaWiki 3.0.0 before 7.3.0 Missing Authorization via smwtask API","id":"CVE-2026-116890"},"products":["SemanticMediaWiki"],"published":"2026-10-27","related":[{"cvss_score":6.1,"headline":"Cross-site Scripting in Semantic MediaWiki","id":"CVE-2022-48614","kev_date_added":null,"published":"2023-12-10"},{"cvss_score":5.3,"headline":"SemanticMediaWiki 3.1.0 before 7.3.1 Reflected XSS via JsonResultPrinter Default Parameter","id":"CVE-2026-116874","kev_date_added":null,"published":"2026-10-27"},{"cvss_score":5.3,"headline":"SemanticMediaWiki 3.0.0 before 7.3.1 Reflected XSS via Special:Ask Separator Parameters","id":"CVE-2026-116875","kev_date_added":null,"published":"2026-10-27"},{"cvss_score":5.3,"headline":"SemanticMediaWiki 5.0.0 before 7.3.1 Stored XSS via Tooltip Module data-* Attributes","id":"CVE-2026-116884","kev_date_added":null,"published":"2026-10-27"},{"cvss_score":5.3,"headline":"SemanticMediaWiki 2.5.0 before 7.3.1 Stored XSS via Special:Browse Code Property","id":"CVE-2026-116889","kev_date_added":null,"published":"2026-10-27"},{"cvss_score":5.3,"headline":"SemanticMediaWiki 3.1.0 before 7.3.1 Reflected XSS via Special:Search smw Profile","id":"CVE-2026-116892","kev_date_added":null,"published":"2026-10-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-27","vendors":["SemanticMediaWiki"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-116891/"}