{"answers":{"affected":"2 open source packages ship an affected version, including elmsln/haxcms. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-49137 exists.","fix":"Upgrade elmsln/haxcms to 11.0.0 or later.","what":"CVE-2025-49137 is a high-severity cross-site scripting vulnerability in haxtheweb issues, published on 9 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-49137 and fix it if it is affected.\n\nWhat it is: CVE-2025-49137 is a high-severity cross-site scripting vulnerability in haxtheweb issues, published on 9 Jun 2025. 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-2025-49137 exists.\n\nAffected packages and fixed versions:\n- elmsln/haxcms (Packagist): affected all versions; fixed in 11.0.0\n- elmsln/haxcms (Packagist): affected all versions; fixed in 11.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-2025-49137/ (Markdown: https://insights.sbomify.com/CVE-2025-49137/index.md)","id":"CVE-2025-49137","markdown":"https://insights.sbomify.com/CVE-2025-49137/index.md","name":"CVE-2025-49137","record":{"aliases":["GHSA-2vc4-3hx7-v7v7"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Hax CMS","requires_auth":"low_privilege","summary":"Attackers can inject arbitrary JavaScript via unsanitized input in Hax CMS, leading to potential session hijacking or site defacement.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"haxcms-nodejs","vendor":"psu"},{"product":"haxcms-php","vendor":"psu"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-87","name":"Improper Neutralization of Alternate XSS Syntax"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"HAX CMS PHP allows users to manage their microsite universe with a PHP backend. Prior to version 11.0.0, the application does not sufficiently sanitize user input, allowing for the execution of arbitrary JavaScript code. The 'saveNode' and 'saveManifest' endpoints take user input and store it in the JSON schema for the site. This content is then rendered in the generated HAX site. Although the application does not allow users to supply a `script` tag, it does allow the use of other HTML tags to run JavaScript. Version 11.0.0 fixes the issue.","ecosystems":["Packagist"],"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 Cross-Site Scripting vulnerability","id":"CVE-2025-49137","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"HAX CMS vulnerable to Local File Inclusion via saveOutline API Location Parameter","id":"CVE-2025-49138"},"packages":[{"ecosystem":"Packagist","fixed":["11.0.0"],"introduced":["0"],"last_affected":[],"package":"elmsln/haxcms","purl":null,"source":"GHSA-2vc4-3hx7-v7v7"},{"ecosystem":"Packagist","fixed":["11.0.0"],"introduced":["0"],"last_affected":[],"package":"elmsln/haxcms","purl":"pkg:composer/elmsln/haxcms","source":"GHSA-2vc4-3hx7-v7v7"}],"prev":{"headline":"listmonk's Sprig template Injection vulnerability leads to reading of Environment Variable for low privilege user","id":"CVE-2025-49136"},"products":["issues"],"published":"2025-06-09","related":[{"cvss_score":9.3,"headline":"HAXcms's Insecure Default Configuration Leads to Unauthenticated Access","id":"CVE-2025-54127","kev_date_added":null,"published":"2025-07-21"},{"cvss_score":8.6,"headline":"HaxCMS-PHP Command Injection Vulnerability","id":"CVE-2025-49141","kev_date_added":null,"published":"2025-06-09"},{"cvss_score":8.3,"headline":"HAX CMS Backend Lacks Comprehensive Authorization Checks","id":"CVE-2025-54378","kev_date_added":null,"published":"2025-07-26"},{"cvss_score":8.1,"headline":"HAXcms Has Stored XSS Vulnerability that May Lead to Account Takeover","id":"CVE-2026-22704","kev_date_added":null,"published":"2026-01-10"},{"cvss_score":7.3,"headline":"NodeJS version of the HAX CMS application is distributed with Default Secrets","id":"CVE-2025-54137","kev_date_added":null,"published":"2025-07-22"},{"cvss_score":7.2,"headline":"HAX CMS NodeJs's Disabled Content Security Policy Enables Cross-Site Scripting","id":"CVE-2025-54128","kev_date_added":null,"published":"2025-07-21"}],"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-10","vendors":["haxtheweb"]},"summary":"Attackers can inject arbitrary JavaScript via unsanitized input in Hax CMS, leading to potential session hijacking or site defacement.","url":"https://insights.sbomify.com/CVE-2025-49137/"}