Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-59g8-h59f-8hjp

Опубликовано: 21 июл. 2025
Источник: github
Github: Прошло ревью
CVSS4: 7.2

Описание

NodeJS version of HAX CMS Has Disabled Content Security Policy That Enables Cross-Site Scripting

Summary

The NodeJS version of HAX CMS has a disabled Content Security Policy (CSP). This configuration is insecure for a production application because it does not protect against cross-site-scripting attacks.

Details

The contentSecurityPolicy value is explicitly disabled in the application's Helmet configuration in app.js.

permissive-csp-code

Affected Resources

PoC

To reproduce this vulnerability, install HAX CMS NodeJS. The application will load without a CSP configured.

Impact

In conjunction with an XSS vulnerability, an attacker could execute arbitrary scripts and exfiltrate data, including session tokens and sensitive local data.

Additional Information

Пакеты

Наименование

@haxtheweb/haxcms-nodejs

npm
Затронутые версииВерсия исправления

<= 11.0.7

11.0.8

EPSS

Процентиль: 6%
0.00024
Низкий

7.2 High

CVSS4

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 6.1
nvd
7 месяцев назад

HAX CMS NodeJs allows users to manage their microsite universe with a NodeJs backend. In versions 11.0.7 and below, the NodeJS version of HAX CMS has a disabled Content Security Policy (CSP). This configuration is insecure for a production application because it does not protect against cross-site-scripting attacks. The contentSecurityPolicy value is explicitly disabled in the application's Helmet configuration in app.js. This is fixed in version 11.0.8.

EPSS

Процентиль: 6%
0.00024
Низкий

7.2 High

CVSS4

Дефекты

CWE-79