{"id":"CVE-2026-46392","aliases":["CVE-2026-46392"],"related":[],"kind":"vulnerability","state":"published","title":"HAX CMS PHP Has a Stored XSS via Case-Sensitivity Mismatch in HTML Upload Validation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-05T18:20:25.658Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"}],"cwes":["CWE-178","CWE-434"],"affected":[{"ranges":[{"version":"< 26.0.0","status":"affected"}],"vendor":"haxtheweb","product":"haxcms-php","source":"cvelist"}],"references":[{"url":"https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-06-05T19:11:18.494Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46392","url":"https://www.cve.org/CVERecord?id=CVE-2026-46392","licence":"CVE Terms of Use","modified":"2026-06-05T19:11:31.488Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46392","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46392","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:23.898Z","epss":{"score":0.00272,"percentile":0.20905,"date":"2026-12-01T12:00:22.000Z"}}