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

exploitDog

github логотип

GHSA-xjfw-5vv5-vjq2

Опубликовано: 01 июн. 2022
Источник: github
Github: Прошло ревью
CVSS3: 7.4

Описание

Cross-site Scripting in Filter Stream Converter Application in XWiki Platform

Impact

We found a possible XSS vector in the Filter.FilterStreamDescriptorForm wiki page related to pretty much all the form fields printed in the home page of the application.

Patches

The issue is patched in versions 12.10.11, 14.0-rc-1, 13.4.7, 13.10.3.

Workarounds

The easiest workaround is to edit the wiki page Filter.FilterStreamDescriptorForm (with wiki editor) and change the lines

<input type="text" id="$descriptorId" name="$descriptorId" value="#if($request.get($descriptorId))$request.get($descriptorId)#else$descriptor.defaultValue#end"/> #else <input type="text" id="$descriptorId" name="$descriptorId"#if($request.get($descriptorId))value="$request.get($descriptorId)"#end/>

into

<input type="text" id="$descriptorId" name="$descriptorId" value="#if($request.get($descriptorId))$escapetool.xml($request.get($descriptorId))#else$descriptor.defaultValue#end"/> #else <input type="text" id="$descriptorId" name="$descriptorId"#if($request.get($descriptorId))value="$escapetool.xml($request.get($descriptorId))"#end/>

Пакеты

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

org.xwiki.platform:xwiki-platform-filter-ui

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

>= 5.4.4, < 12.10.11

12.10.11

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

org.xwiki.platform:xwiki-platform-filter-ui

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

>= 13.0.0, < 13.4.7

13.4.7

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

org.xwiki.platform:xwiki-platform-filter-ui

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

>= 13.5.0, < 13.10.3

13.10.3

EPSS

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

7.4 High

CVSS3

Дефекты

CWE-116
CWE-79

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

CVSS3: 7.4
nvd
больше 3 лет назад

XWiki Platform Filter UI provides a generic user interface to convert from a XWiki Filter input stream to an output stream with settings for each stream. Starting with versions 6.0-milestone-2 and 5.4.4 and prior to versions 12.10.11, 14.0-rc-1, 13.4.7, and 13.10.3, XWiki Platform Filter UI contains a possible cross-site scripting vector in the `Filter.FilterStreamDescriptorForm` wiki page related to pretty much all the form fields printed in the home page of the application. The issue is patched in versions 12.10.11, 14.0-rc-1, 13.4.7, and 13.10.3. The easiest workaround is to edit the wiki page `Filter.FilterStreamDescriptorForm` (with wiki editor) according to the instructions in the GitHub Security Advisory.

EPSS

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

7.4 High

CVSS3

Дефекты

CWE-116
CWE-79