{"id":"CVE-2026-46392","published":"2026-06-05T18:20:25Z","modified":"2026-06-05T19:11:31Z","title":"HAX CMS PHP Has a Stored XSS via Case-Sensitivity Mismatch in HTML Upload Validation","vendor":"haxtheweb","product":"haxcms-php","tier":"tail","description":{"text":"HAX CMS helps manage microsite universe with PHP or NodeJs backends. Prior to version 26.0.0 of HAX CMS PHP, the `saveFile` endpoint validates upload extensions case-insensitively and writes the filename to disk verbatim, but the `.htaccess` rule that forces `Content-Disposition: attachment` on HTML files is case-sensitive. An HTML file uploaded with an uppercase extension (`.HTML`, `.Html`, `.HTM`) is still served as `text/html` but the forced-download header never applies, so the browser renders it inline and executes any embedded JavaScript in the HAXcms origin. This bypasses the mitigation shipped for CVE-2026-22704. Version 26.0.0 contains a fix.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00272,"percentile":0.19994,"provenance":"source"},"cwes":[{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"},{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":4.0},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"haxtheweb","affectedVersions":[{"vendor":"haxtheweb","product":"haxcms-php","versions":["< 26.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-05T19:11:18.494323Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-34883","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-haxtheweb-issues-cve-2026-22704","parents":[{"from":"CVE-2026-22704","to":"CVE-2026-46392","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This bypasses the mitigation shipped for CVE-2026-22704.","from":"CVE.org","in":"CVE-2026-46392"}]}]}}