Loading advisory.
Loading advisory.
Hax CMS Stored Cross-Site Scripting vulnerability
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.
Published 2025-06-09 17:43 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| elmsln/haxcms | Packagist | < 11.0.0 versions 0.0.1, 0.1.0, 0.11.0, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.8.1, 0.8.2, 0.9.0 | 11.0.0 | composer require 'elmsln/haxcms:>=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.
Operations.php:258 saveManifest()
Operations.php:868 saveNode()
https://<site>/<user>/system/api/saveNode
https://<site>/<user>/system/api/saveManifest
An authenticated attacker can use the site editor and settings editor to store malicious payloads in a HAX site which execute arbitrary JavaScript when a user visits the site. This can be used to steal a user's session cookie or other sensitive data.
To replicate this vulnerability, an attacker can use the "View Source" functionality within the site editor to enter a malicious payload.
Select "View Source" within the HAX site editor and enter an XSS payload that does not use the "script" HTML tag.
Select "Update HTML" and observe the resulting alert.
To exploit the 'SaveManifest' endpoint, an attacker can insert executable code into the URL field of the site settings editor: any payload added this way will execute when the site is loaded.
Open the site settings editor.
Add JavaScript code to the URL field under the "Theme" header.
Reload the page to run the script.
The resulting page source will contain the script.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.005 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.005 | 0.003 | v2026.06.15 |