CVE-2026-46496 HAX CMS: Stored XSS via '<video-player>' component allows arbitrary JavaScript execution and token theft
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.
Which versions are affected by CVE-2026-46496?
4 open source packages ship an affected version, including @haxtheweb/haxcms-nodejs and @haxtheweb/video-player.
| Package | Affected | Fixed in |
|---|---|---|
@haxtheweb/haxcms-nodejs npm | All versions | 26.0.0 |
@haxtheweb/haxcms-nodejs npm | All versions | 26.0.0 |
@haxtheweb/video-player npm | All versions | 26.0.0 |
@haxtheweb/video-player npm | All versions | 26.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.