Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @haxtheweb/haxcms-nodejs
  4. ›
  5. CVE-2026-48527

CVE-2026-48527: HaxCMS has a stored Cross-Site Scripting (XSS) bypass in its saveNode endpoint

May 29, 2026

HaxCMS is affected by a stored cross-site scripting (XSS) vulnerability in the /system/api/saveNode endpoint. An authenticated user with a permission to edit pages can bypass the HTML sanitizer by injecting an event handler attribute without whitespace before the attribute name.

For example, the sanitizer misses:

<a href="#"onclick="alert('kn1ph')">click me</a>

The important bypass is:

href="#"onclick=

The payload is stored in the generated page files and executes when a user clicks the injected link.

References

  • github.com/advisories/GHSA-g2g8-95qg-v35h
  • github.com/haxtheweb/issues/security/advisories/GHSA-g2g8-95qg-v35h
  • nvd.nist.gov/vuln/detail/CVE-2026-48527

Code Behaviors & Features

Detect and mitigate CVE-2026-48527 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.0.1

Fixed versions

  • 26.0.1

Solution

Upgrade to version 26.0.1 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@haxtheweb/haxcms-nodejs/CVE-2026-48527.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 30 May 2026 12:18:03 +0000.