CVE-2026-46392

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.
Configurations

No configuration.

History

26 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (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.

05 Jun 2026, 20:17

Type Values Removed Values Added
References () https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp - () https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp -

05 Jun 2026, 19:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-05 19:16

Updated : 2026-10-26 11:10


NVD link : CVE-2026-46392

Mitre link : CVE-2026-46392

CVE.ORG link : CVE-2026-46392


JSON object : View

Products Affected

No product.

CWE
CWE-178

Improper Handling of Case Sensitivity

CWE-434

Unrestricted Upload of File with Dangerous Type