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

exploitDog

github логотип

GHSA-xgpm-q3mq-46rq

Опубликовано: 03 янв. 2024
Источник: github
Github: Прошло ревью
CVSS3: 8.1

Описание

PrestaShop some attribute not escaped in Validate::isCleanHTML method

Description

Some event attributes are not detected by the isCleanHTML method

Impact

Some modules using the isCleanHTML method could be vulnerable to xss

Patches

8.1.3, 1.7.8.11

Workarounds

The best workaround is to use the HTMLPurifier library to sanitize html input coming from users. The library is already available as a dependency in the PrestaShop project. Beware though that in legacy object models, fields of HTML type will call isCleanHTML.

Reporters

Reported by Antonio Russo (@Antonio-R1 on GitHub) and Antonio Rocco Spataro (@antoniospataro on GitHub).

Пакеты

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

prestashop/prestashop

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

>= 8.0.0-beta.1, < 8.1.3

8.1.3

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

prestashop/prestashop

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

< 1.7.8.11

1.7.8.11

EPSS

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

8.1 High

CVSS3

Дефекты

CWE-20
CWE-79

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

CVSS3: 8.1
nvd
около 2 лет назад

PrestaShop is an open-source e-commerce platform. Prior to versions 8.1.3 and 1.7.8.11, some event attributes are not detected by the `isCleanHTML` method. Some modules using the `isCleanHTML` method could be vulnerable to cross-site scripting. Versions 8.1.3 and 1.7.8.11 contain a patch for this issue. The best workaround is to use the `HTMLPurifier` library to sanitize html input coming from users. The library is already available as a dependency in the PrestaShop project. Beware though that in legacy object models, fields of `HTML` type will call `isCleanHTML`.

EPSS

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

8.1 High

CVSS3

Дефекты

CWE-20
CWE-79