{"id":"CVE-2026-46392","state":"PUBLISHED","title":"HAX CMS PHP Has a Stored XSS via Case-Sensitivity Mismatch in HTML Upload Validation","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.","publishedAt":"2026-06-05T18:20:25.658Z","updatedAt":"2026-06-05T19:11:31.488Z","severity":{"score":8.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["haxtheweb haxcms-php"],"affected":[{"vendor":"haxtheweb","product":"haxcms-php","versions":[{"version":"< 26.0.0","status":"affected"}]}],"references":["https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp"],"weaknesses":["CWE-178","CWE-434"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/46xxx/CVE-2026-46392.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-46392","state":"PUBLISHED","datePublished":"2026-06-05T18:20:25.658Z","dateUpdated":"2026-06-05T19:11:31.488Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-13T19:53:47.922Z"},"containers":{"cna":{"title":"HAX CMS PHP Has a Stored XSS via Case-Sensitivity Mismatch in HTML Upload Validation","descriptions":[{"lang":"en","value":"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":[{"vendor":"haxtheweb","product":"haxcms-php","versions":[{"version":"< 26.0.0","status":"affected"}]}],"references":[{"url":"https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp","name":"https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-178","lang":"en","description":"CWE-178: Improper Handling of Case Sensitivity","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-05T18:20:25.658Z"},"source":{"advisory":"GHSA-hg33-w4j2-95qp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-05T19:11:18.494323Z","id":"CVE-2026-46392","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-05T19:11:31.488Z"}}]}}}