GHSA-2v95-f3j5-3cpp: HAXcms Node.js 25.0.0 before 26.11.0 Stored XSS via Percent-Encoded files/ Paths
HAXcms Node.js 25.0.0 before 26.11.0 contains a stored cross-site scripting vulnerability that allows authenticated users with media upload permission to bypass the files/ HTML download guard using percent-encoded paths. Attackers can upload an HTML file containing script and send victims links like /files/evil%2ehtml, which are served inline as text/html, executing script in the HAXcms origin with the victim's session context.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
Affected deployments use @haxtheweb/haxcms-nodejs versions from 25.0.0 before 26.11.0. Exploitation concerns instances where authenticated users have permission to upload media.
What does an attacker need to exploit this issue?
An attacker needs an authenticated account with media upload permission. They can upload an HTML file containing script and must get a victim to open a percent-encoded file URL such as /files/evil%2ehtml.
What is the impact on a victim who follows the link?
The uploaded file is served inline as text/html rather than being blocked by the files/ HTML download guard. Its script executes in the HAXcms origin using the victim's session context.