← Back to CVE Explorer

CVE-2026-46392

Full vulnerability record from the local CVENow database.

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.

Severity
HIGH
CVSS score
8.7 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-05 19:16:33.160000
Last modified
2026-10-26 11:10:00.157000
View original CVE JSON
{
  "id": "CVE-2026-46392",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-05T19:16:33.160",
  "lastModified": "2026-10-26T11:10:00.157",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "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."
    },
    {
      "lang": "es",
      "value": "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."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "haxtheweb",
          "product": "haxcms-php",
          "versions": [
            {
              "version": "< 26.0.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N",
          "baseScore": 8.7,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "REQUIRED",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.3,
        "impactScore": 5.8
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-05T19:11:18.494323Z",
          "id": "CVE-2026-46392",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-178"
        },
        {
          "lang": "en",
          "value": "CWE-434"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/haxtheweb/issues/security/advisories/GHSA-hg33-w4j2-95qp",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}