{"answers":{"affected":"2 open source packages ship an affected version, including @haxtheweb/haxcms-nodejs.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46511 exists.","fix":"Upgrade @haxtheweb/haxcms-nodejs to 26.0.0 or later.","what":"CVE-2026-46511 is a high-severity cross-site scripting vulnerability in haxtheweb haxcms-nodejs, published on 5 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-46511 and fix it if it is affected.\n\nWhat it is: CVE-2026-46511 is a high-severity cross-site scripting vulnerability in haxtheweb haxcms-nodejs, published on 5 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46511 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\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-46511/ (Markdown: https://insights.sbomify.com/CVE-2026-46511/index.md)","id":"CVE-2026-46511","markdown":"https://insights.sbomify.com/CVE-2026-46511/index.md","name":"CVE-2026-46511","record":{"aliases":["GHSA-x3x5-7h4h-gwxg"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"HAX CMS","requires_auth":"low_privilege","summary":"An authenticated attacker can exploit Stored XSS to steal session tokens from the connection settings API, leading to cross-tenant account takeover.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-922","name":"Insecure Storage of Sensitive Information"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"description":"HAX CMS helps manage microsite universe with PHP or NodeJs backends. Prior to version 26.0.0, an attack chain utilizing Stored XSS alongside dynamic token exposure in the `/system/api/connectionSettings` endpoint allows an authenticated attacker to perform a complete cross-tenant account takeover. The API dynamically leaks the active session's authentication tokens (including the `jwt`, `user_token`, `site_token`, and `appstore_token`) into a global JavaScript variable (`window.appSettings`). An attacker can exploit the XSS vulnerability to force a victim's browser to silently fetch their specific connection settings, extract the tokens, and exfiltrate them to an attacker-controlled webhook. Version 26.0.0 patches 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":"HAXcms: Mass Token Exfiltration and Cross-Tenant Hijack","id":"CVE-2026-46511","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Frogman: Dialplan template parameters interpolated into extensions_custom.conf without escaping","id":"CVE-2026-46512"},"packages":[{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/haxcms-nodejs","purl":null,"source":"GHSA-x3x5-7h4h-gwxg"},{"ecosystem":"npm","fixed":["26.0.0"],"introduced":["0"],"last_affected":[],"package":"@haxtheweb/haxcms-nodejs","purl":"pkg:npm/%40haxtheweb/haxcms-nodejs","source":"GHSA-x3x5-7h4h-gwxg"}],"prev":{"headline":"Prototype pollution in form-data-objectizer via bracket-notation form keys","id":"CVE-2026-46510"},"products":["haxcms-nodejs","haxcms-php"],"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-08","vendors":["haxtheweb"]},"summary":"An authenticated attacker can exploit Stored XSS to steal session tokens from the connection settings API, leading to cross-tenant account takeover.","url":"https://insights.sbomify.com/CVE-2026-46511/"}