{"id":"CVE-2025-49137","published":"2025-06-09T21:00:15Z","modified":"2025-06-10T15:30:09Z","title":"Hax CMS Stored Cross-Site Scripting vulnerability","vendor":"haxtheweb","product":"issues","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00539,"percentile":0.38881,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-87","name":"Improper Neutralization of Alternate XSS Syntax"}],"references":[{"url":"https://github.com/haxtheweb/issues/security/advisories/GHSA-2vc4-3hx7-v7v7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/haxtheweb/haxcms-php/commit/0dd3e98fe2fadd0793b667d4af2aac230980e0f8","tags":["x_refsource_MISC"]}],"priority":{"score":13.7,"factors":[{"name":"EPSS percentile","points":7.78},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"haxtheweb","affectedVersions":[{"vendor":"haxtheweb","product":"issues","versions":["< 11.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-10T15:11:53.685905Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"elmsln/haxcms","vulnerableRanges":["<11.0.0"],"patched":["11.0.0"],"from":["GHSA-2vc4-3hx7-v7v7"],"provenance":"source"}],"summary":{"text":"The stored cross-site scripting flaw lies in the issues component of the haxtheweb HAX CMS PHP product, where user input submitted to the saveNode and saveManifest endpoints is insufficiently sanitised before being saved to the site's JSON schema and rendered in the generated HAX site. An attacker who has low-privileged authenticated access and can submit content can embed HTML tags other than script that execute arbitrary JavaScript, which is then run in the context of users who view the affected page, with no further user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:21Z"},"euvd":{"id":"EUVD-2025-17562","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-haxtheweb-issues-cve-2025-49137","children":[{"from":"CVE-2025-49137","to":"CVE-2025-54378","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["system/backend/php/lib/HAXCMS.php","system/backend/php/lib/Operations.php"],"commits":["https://github.com/haxtheweb/haxcms-php/commit/0dd3e98fe2fadd0793b667d4af2aac230980e0f8","https://github.com/haxtheweb/haxcms-php/commit/24d30222481ada037597c4d7c0a51a1ef7af6cfd"],"basis":"shared function","functions":["saveManifest"]}]}]}}