{"answers":{"affected":"6 open source packages ship an affected version, including @haxtheweb/haxcms-nodejs, @haxtheweb/iframe-loader and @haxtheweb/video-player.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46396 exists.","fix":"Upgrade @haxtheweb/haxcms-nodejs to 26.0.0 or later.","what":"CVE-2026-46396 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-46396 and fix it if it is affected.\n\nWhat it is: CVE-2026-46396 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-46396 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/iframe-loader (npm): affected all versions; fixed in 26.0.0\n- @haxtheweb/iframe-loader (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-46396/ (Markdown: https://insights.sbomify.com/CVE-2026-46396/index.md)","id":"CVE-2026-46396","markdown":"https://insights.sbomify.com/CVE-2026-46396/index.md","name":"CVE-2026-46396","record":{"aliases":["GHSA-jh3h-rpxg-fr36"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"HAX CMS","requires_auth":"low_privilege","summary":"Attackers can inject malicious JavaScript via iframe src attributes in HAX CMS, leading to arbitrary code execution and account takeover.","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"}],"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 `\u003ciframe\u003e` elements. The application allows `javascript:` URIs in the `src` attribute, which are executed when a malicious page is viewed. This enables attackers to execute arbitrary JavaScript in the context of the victim’s browser and access sensitive data exposed to client-side scripts. 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 has a stored XSS via \u003ciframe\u003e that allows access to sensitive client-side data and account takeover","id":"CVE-2026-46396","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"haxcms-php Local File Inclusion via saveOutline API Location Parameter v2.0","id":"CVE-2026-46397"},"packages":[{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/haxcms-nodejs","purl":null,"source":"GHSA-jh3h-rpxg-fr36"},{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/haxcms-nodejs","purl":"pkg:npm/%40haxtheweb/haxcms-nodejs","source":"GHSA-jh3h-rpxg-fr36"},{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/iframe-loader","purl":null,"source":"GHSA-jh3h-rpxg-fr36"},{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/iframe-loader","purl":"pkg:npm/%40haxtheweb/iframe-loader","source":"GHSA-jh3h-rpxg-fr36"},{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/video-player","purl":null,"source":"GHSA-jh3h-rpxg-fr36"},{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/video-player","purl":"pkg:npm/%40haxtheweb/video-player","source":"GHSA-jh3h-rpxg-fr36"}],"prev":{"headline":"HAX CMS Vulnerable to Private Key Disclosure via Broken HMAC Implementation","id":"CVE-2026-46395"},"products":["haxcms-nodejs","iframe-loader","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-09","vendors":["haxtheweb"]},"summary":"Attackers can inject malicious JavaScript via iframe src attributes in HAX CMS, leading to arbitrary code execution and account takeover.","url":"https://insights.sbomify.com/CVE-2026-46396/"}