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

exploitDog

github логотип

GHSA-2wcr-87wf-cf9j

Опубликовано: 30 мар. 2023
Источник: github
Github: Прошло ревью
CVSS3: 7.6

Описание

Kiwi TCMS Stored Cross-site Scripting via SVG file

Impact

Kiwi TCMS accepts SVG files uploaded by users which could potentially contain JavaScript code. If SVG images are viewed directly, i.e. not rendered in an HTML page, this JavaScript code could execute.

Patches

This vulnerability has been fixed by configuring Kiwi TCMS to serve with the Content-Security-Policy HTTP header which blocks inline JavaScript in all modern browsers.

Workarounds

Configure Content-Security-Policy header, see commit 6617cee0.

References

You can visit https://digi.ninja/blog/svg_xss.php for more technical details.

Independently disclosed by Antonio Spataro and @1d8.

Пакеты

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

kiwitcms

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

< 12.1

12.1

EPSS

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

7.6 High

CVSS3

Дефекты

CWE-79

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

CVSS3: 7.6
nvd
почти 3 года назад

Kiwi TCMS is an open source test management system for both manual and automated testing. Kiwi TCMS accepts SVG files uploaded by users which could potentially contain JavaScript code. If SVG images are viewed directly, i.e. not rendered in an HTML page, this JavaScript code could execute. This vulnerability has been fixed by configuring Kiwi TCMS to serve with the Content-Security-Policy HTTP header which blocks inline JavaScript in all modern browsers. This configuration change is provided in version 12.1 and users are advised to upgrade. Users unable to upgrade may set their Content-Security-Policy HTTP header manually.

EPSS

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

7.6 High

CVSS3

Дефекты

CWE-79