CVE-2026-46392CWE-178CWE-434

HAX CMS PHP Has a Stored XSS via Case-Sensitivity Mismatch in HTML Upload Validation

High · published June 5, 2026

CVSS v3.1
8.7
EPSS
0%
Percentile
30.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00374 · 30.2th percentile
Weaknesses
CWE-178 · Improper Handling of Case Sensitivity; CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2026-06-05T18:20Z
EPSS history
Timeline
  • 05 JUN 18:20Z
    HAX CMS PHP Has a Stored XSS via Case-Sensitivity Mismatch in HTML Upload Validation
    cvelistv5