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

exploitDog

github логотип

GHSA-78vg-7v27-hj67

Опубликовано: 10 сент. 2024
Источник: github
Github: Прошло ревью
CVSS4: 6.3
CVSS3: 8.2

Описание

auditor-bundle vulnerable to Cross-site Scripting because name of entity does not get escaped

Summary

Unescaped entity property enables Javascript injection.

Details

I think this is possible because %source_label% in twig macro is not escaped. Therefore script tags can be inserted and are executed.

PoC

Impact

persistent XSS. JS can be injected and executed.

Пакеты

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

damienharper/auditor-bundle

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

< 5.2.6

5.2.6

EPSS

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

6.3 Medium

CVSS4

8.2 High

CVSS3

Дефекты

CWE-79

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

CVSS3: 8.2
nvd
больше 1 года назад

auditor-bundle, formerly known as DoctrineAuditBundle, integrates auditor library into any Symfony 3.4+ application. Prior to version 5.2.6, there is an unescaped entity property enabling Javascript injection. This is possible because `%source_label%` in twig macro is not escaped. Therefore script tags can be inserted and are executed. The vulnerability is fixed in versions 6.0.0 and 5.2.6.

EPSS

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

6.3 Medium

CVSS4

8.2 High

CVSS3

Дефекты

CWE-79