CVE-2026-46496 HAX CMS: Stored XSS via '<video-player>' component allows arbitrary JavaScript execution and token theft

Critical 9.3 Published Updated

Attackers can execute arbitrary JavaScript and steal JWT tokens via stored XSS in the video-player component of HAX CMS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-46496?

CVE-2026-46496 is a critical cross-site scripting vulnerability in haxtheweb haxcms-nodejs, published on 5 Jun 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

HAX CMS helps manage microsite universe with PHP or NodeJs backends. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 26.0.0 due to improper sanitization of the `<video-player>` component. The component allows `javascript:` URIs in the `source` attribute, which are executed when the page is viewed. This enables attackers to execute arbitrary JavaScript in the context of the victim’s browser and access sensitive data such as JWT tokens and more. Version 26.0.0 fixes the issue.

Weakness: CWE-79, CWE-116

Which versions are affected by CVE-2026-46496?

4 open source packages ship an affected version, including @haxtheweb/haxcms-nodejs and @haxtheweb/video-player.

PackageAffectedFixed in
@haxtheweb/haxcms-nodejs npmAll versions26.0.0
@haxtheweb/haxcms-nodejs npmAll versions26.0.0
@haxtheweb/video-player npmAll versions26.0.0
@haxtheweb/video-player npmAll versions26.0.0

How do I fix CVE-2026-46496?

Upgrade @haxtheweb/haxcms-nodejs to 26.0.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-46496 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46496 exists.

Sources

Also known as GHSA-2m6p-hm3w-6jm3.

Is CVE-2026-46496 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free