CVE-2025-49137 Hax CMS Stored Cross-Site Scripting vulnerability

High 8.5 Published Updated

Attackers can inject arbitrary JavaScript via unsanitized input in Hax CMS, leading to potential session hijacking or site defacement.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-49137?

CVE-2025-49137 is a high-severity cross-site scripting vulnerability in haxtheweb issues, published on 9 Jun 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

HAX CMS PHP allows users to manage their microsite universe with a PHP backend. Prior to version 11.0.0, the application does not sufficiently sanitize user input, allowing for the execution of arbitrary JavaScript code. The 'saveNode' and 'saveManifest' endpoints take user input and store it in the JSON schema for the site. This content is then rendered in the generated HAX site. Although the application does not allow users to supply a `script` tag, it does allow the use of other HTML tags to run JavaScript. Version 11.0.0 fixes the issue.

Weakness: CWE-87, CWE-80, CWE-79

Which versions are affected by CVE-2025-49137?

2 open source packages ship an affected version, including elmsln/haxcms. It affects 2 products.

PackageAffectedFixed in
elmsln/haxcms PackagistAll versions11.0.0
elmsln/haxcms PackagistAll versions11.0.0

Products include Psu Haxcms-Nodejs, Psu Haxcms-Php.

How do I fix CVE-2025-49137?

Upgrade elmsln/haxcms to 11.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-2025-49137 being exploited?

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

Sources

Also known as GHSA-2vc4-3hx7-v7v7.

Is CVE-2025-49137 in your software?

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

Check your SBOMs for free