CVE-2026-46396: Stored XSS in HAX CMS via <iframe> Allows Account Takeover

@haxtheweb/haxcms-nodejs Updated 19 May 2026

Summary

19/05/2026
Yes i
High
8.6

CVE-2026-46396: Stored XSS via in HAX CMS allows access to sensitive client-side data and account takeover. Affects @haxtheweb/haxcms-nodejs versions < 26.0.0. Fixed in 26.0.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

HAX CMS is an open-source content management system designed for creating and managing web content easily. It provides a user-friendly interface and supports various multimedia elements, making it suitable for developers and non-developers alike. However, it has a critical vulnerability that allows stored cross-site scripting (XSS) attacks through improper sanitization of <iframe> elements, which can lead to significant security risks.

Vulnerability Detail

The vulnerability arises from the application's failure to properly sanitize <iframe> elements, allowing the inclusion of 'javascript:' URIs in the src attribute. When a malicious page is accessed, this can execute arbitrary JavaScript in the victim's browser context. This exploitation can lead to unauthorized access to sensitive client-side data such as authentication tokens, session cookies, and user-specific information, ultimately enabling attackers to hijack user sessions and take over accounts.

How To Fix

Minimum fixed version

26.0.0

This is the first release that contains the fix.

npm install @haxtheweb/haxcms-nodejs@26.0.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using <iframe> elements with 'javascript:' URIs in the src attribute until the packages are updated. Additionally, consider implementing Content Security Policy (CSP) headers to mitigate the risk of XSS attacks.

Conclusion

The stored XSS vulnerability in HAX CMS poses a significant risk to users by allowing attackers to execute arbitrary JavaScript and access sensitive client-side data. It is crucial to update the affected packages to the patched versions to mitigate this risk and protect user accounts.

See every vulnerability recorded for @haxtheweb/haxcms-nodejs →

Share this vulnerability

FAQ

Stored XSS is a type of security vulnerability where an attacker injects malicious scripts into a web application, which are then stored on the server and executed in the browsers of users who access the affected content.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, you can identify if your application is affected by this vulnerability.

The impacts include unauthorized access to sensitive data, session hijacking, and full account takeover, which can compromise user accounts and site content.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score of this vulnerability is 8.6, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for @haxtheweb/haxcms-nodejs.

How To Fix

Minimum fixed version

26.0.0

This is the first release that contains the fix.

npm install @haxtheweb/haxcms-nodejs@26.0.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback