HAX CMS Stored Cross-Site Scripting Vulnerability in saveNode Endpoint

Vulnerability

A stored cross-site scripting vulnerability has been identified in HAX CMS versions up to and including 26.0.0. The issue resides in the '/system/api/saveNode' endpoint, where an authenticated user with page editing permissions can bypass the HTML sanitizer. This is achieved by injecting an event handler attribute without a preceding whitespace, allowing malicious JavaScript to be executed when the injected link is clicked.

Impact

Exploitation of this vulnerability allows authenticated users with page editing rights to inject JavaScript that is executed in the context of the user viewing the page. This could lead to unauthorized actions being performed on behalf of the user, using their permissions and access tokens.

Reproduction

To reproduce this vulnerability, log into HAX CMS and edit a page. Capture the save request using a tool like Burp Suite. In the request body, modify the 'node.body' parameter to include an event handler attribute, such as 'onclick', without any whitespace before it. Once the request is forwarded, the injected JavaScript will execute when the edited page is viewed and the link is clicked.

Remediation

Users can update to @haxtheweb/haxcms-nodejs version 26.0.1 or haxcms-php version 26.0.2 to address this vulnerability.

Added: May 29, 2026, 1:20 PM
Updated: May 29, 2026, 1:20 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
6.2
remediation
0.0
relevance
9.8
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.