VDB
Sign up
MEDIUM4.3

GHSA-54vw-f4xf-f92j

HAX CMS application pages vulnerable to clickjacking

Quick fix

GHSA-54vw-f4xf-f92j — @haxtheweb/haxcms-nodejs: upgrade to the fixed version with the command below.

npm install @haxtheweb/haxcms-nodejs@11.0.13

Details

### Summary

All pages within the HAX CMS application do not contain headers to stop other websites from loading the site within an iframe. This applies to both the CMS and generated sites.

### PoC

To replicate this vulnerability, load the target page in an iframe and observe the rendered content.

![image](https://github.com/user-attachments/assets/84526738-7101-4842-9bac-d33a41091600)

### Impact

An unauthenticated attacker can load the standalone login page or other sensitive functionality within an iframe, performing a UI redressing attack (Clickjacking). This can be used to perform social engineering attacks to attempt to coerce users into performing unintended actions within the HAX CMS application.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@haxtheweb/haxcms-nodejs
Introduced in: 0Fixed in: 11.0.13
Fixnpm install @haxtheweb/haxcms-nodejs@11.0.13
Packagist/elmsln/haxcms
Introduced in: 0Fixed in: 11.0.8
Fixcomposer require elmsln/haxcms:^11.0.8

References