CVE-2026-46392
Beschrijving NL
HAX CMS helpt bij het beheren van microsite-universum met PHP- of NodeJs-backends. Voorafgaand aan versie 26.0.0 van HAX CMS PHP valideert het `saveFile` -eindpunt upload-extensies hoofdletterongevoelig en schrijft de bestandsnaam letterlijk naar de schijf, maar de `.htaccess` -regel die `Content-Disposition: attachment` op HTML-bestanden afdwingt, is hoofdlettergevoelig. Een HTML-bestand geüpload met een hoofdletter-extensie (`.HTML`, `.HTML`, `.HTM`) wordt nog steeds weergegeven als `text/html`, maar de geforceerde downloadkoptekst is nooit van toepassing, dus de browser maakt het inline en voert ingesloten JavaScript uit in de HAXcms-oorsprong. Dit omzeilt de mitigatie die is verzonden voor CVE-2026-22704. Versie 26.0.0 bevat een fix.
Origineel (Engels) tonen
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.