CVE-2026-46392
JSON

8.7high

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

Severity
8.7high CVSS:3.1 by GitHub_M
Exploit likelihood
0.27% (higher than 20% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
haxtheweb haxcms-php< 26.0.0CVE List

Classification

CWE-178CWE-434

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

HAX CMS ayuda a gestionar el universo de micrositios con backends de PHP o NodeJs. Antes de la versión 26.0.0 de HAX CMS PHP, el endpoint ’saveFile’ valida las extensiones de carga sin distinguir entre mayúsculas y minúsculas y escribe el nombre de archivo en el disco textualmente, pero la regla de ’.htaccess’ que fuerza ’Content-Disposition: attachment’ en archivos HTML distingue entre mayúsculas y minúsculas. Un archivo HTML subido con una extensión en mayúsculas (’.HTML’, ’.Html’, ’.HTM’) todavía se sirve como ’text/html’ pero el encabezado de descarga forzada nunca se aplica, por lo que el navegador lo renderiza en línea y ejecuta cualquier JavaScript incrustado en el origen de HAXcms. Esto elude la mitigación enviada para CVE-2026-22704. La versión 26.0.0 contiene una corrección.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-46392 changed 2026-06-05CVE Terms of Use
NVDCVE-2026-46392 changed 2026-10-26Public domain