# CVE-2026-46392: HAX CMS PHP Has a Stored XSS via Case-Sensitivity Mismatch in HTML Upload Validation

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-05T18:20:25.658Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-178, CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- haxtheweb haxcms-php: < 26.0.0

## References

- <https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp> (exploit)

## Sources

- CVE List: [CVE-2026-46392](https://www.cve.org/CVERecord?id=CVE-2026-46392), CVE Terms of Use, modified 2026-06-05
- NVD: [CVE-2026-46392](https://nvd.nist.gov/vuln/detail/CVE-2026-46392), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-46392 · Whole record: https://cve.day/CVE-2026-46392.json · Rebuilt by cve.day 2026-11-25T22:59:23.898Z
