{"answers":{"affected":"4 open source packages ship an affected version, including @haxtheweb/haxcms-nodejs and @haxtheweb/video-player.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46496 exists.","fix":"Upgrade @haxtheweb/haxcms-nodejs to 26.0.0 or later.","what":"CVE-2026-46496 is a critical cross-site scripting vulnerability in haxtheweb haxcms-nodejs, published on 5 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-46496 and fix it if it is affected.\n\nWhat it is: CVE-2026-46496 is a critical cross-site scripting vulnerability in haxtheweb haxcms-nodejs, published on 5 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46496 exists.\n\nAffected packages and fixed versions:\n- @haxtheweb/haxcms-nodejs (npm): affected all versions; fixed in 26.0.0\n- @haxtheweb/haxcms-nodejs (npm): affected all versions; fixed in 26.0.0\n- @haxtheweb/video-player (npm): affected all versions; fixed in 26.0.0\n- @haxtheweb/video-player (npm): affected all versions; fixed in 26.0.0\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-46496/ (Markdown: https://insights.sbomify.com/CVE-2026-46496/index.md)","id":"CVE-2026-46496","markdown":"https://insights.sbomify.com/CVE-2026-46496/index.md","name":"CVE-2026-46496","record":{"aliases":["GHSA-2m6p-hm3w-6jm3"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"HAX CMS","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary JavaScript and steal JWT tokens via stored XSS in the video-player component of HAX CMS.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"HAX CMS helps manage microsite universe with PHP or NodeJs backends. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 26.0.0 due to improper sanitization of the `\u003cvideo-player\u003e` component. The component allows `javascript:` URIs in the `source` attribute, which are executed when the page is viewed. This enables attackers to execute arbitrary JavaScript in the context of the victim’s browser and access sensitive data such as JWT tokens and more. Version 26.0.0 fixes the issue.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"HAX CMS: Stored XSS via '\u003cvideo-player\u003e' component allows arbitrary JavaScript execution and token theft","id":"CVE-2026-46496","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"SSRF via sitemap-derived URLs in Crawlee for Python","id":"CVE-2026-46497"},"packages":[{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/haxcms-nodejs","purl":null,"source":"GHSA-2m6p-hm3w-6jm3"},{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/haxcms-nodejs","purl":"pkg:npm/%40haxtheweb/haxcms-nodejs","source":"GHSA-2m6p-hm3w-6jm3"},{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/video-player","purl":null,"source":"GHSA-2m6p-hm3w-6jm3"},{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/video-player","purl":"pkg:npm/%40haxtheweb/video-player","source":"GHSA-2m6p-hm3w-6jm3"}],"prev":{"headline":"OpenDJ Pre-Auth RCE via Java Deserialization in JMX RMI","id":"CVE-2026-46495"},"products":["haxcms-nodejs","video-player"],"published":"2026-06-05","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-05","vendors":["haxtheweb"]},"summary":"Attackers can execute arbitrary JavaScript and steal JWT tokens via stored XSS in the video-player component of HAX CMS.","url":"https://insights.sbomify.com/CVE-2026-46496/"}