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

exploitDog

github логотип

GHSA-gxr4-xjj5-5px2

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

Описание

Potential XSS vulnerability in jQuery

Impact

Passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code.

Patches

This problem is patched in jQuery 3.5.0.

Workarounds

To workaround the issue without upgrading, adding the following to your code:

jQuery.htmlPrefilter = function( html ) { return html; };

You need to use at least jQuery 1.12/2.2 or newer to be able to apply this workaround.

References

https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/ https://jquery.com/upgrade-guide/3.5/

For more information

If you have any questions or comments about this advisory, search for a relevant issue in the jQuery repo. If you don't find an answer, open a new issue.

Ссылки

Пакеты

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

jquery

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

>= 1.2.0, < 3.5.0

3.5.0

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

jquery

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

>= 1.2.0, < 3.5.0

3.5.0

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

jquery-rails

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

< 4.4.0

4.4.0

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

org.webjars.npm:jquery

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

>= 1.2.0, < 3.5.0

3.5.0

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

maximebf/debugbar

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

< 1.19.0

1.19.0

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

athlon1600/youtube-downloader

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

<= 4.0.0

Отсутствует

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

components/jquery

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

>= 1.2.0, < 3.5.0

3.5.0

EPSS

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

6.9 Medium

CVSS3

Дефекты

CWE-79

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

CVSS3: 6.9
ubuntu
около 5 лет назад

In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

CVSS3: 6.1
redhat
около 5 лет назад

In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

CVSS3: 6.9
nvd
около 5 лет назад

In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

CVSS3: 6.9
debian
около 5 лет назад

In jQuery versions greater than or equal to 1.2 and before 3.5.0, pass ...

CVSS3: 6.1
fstec
около 5 лет назад

Уязвимость библиотеки jQuery, связанная с непринятием мер по защите структуры веб-страницы, позволяющая нарушителю оказать воздействие на целостность защищаемой информации

EPSS

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

6.9 Medium

CVSS3

Дефекты

CWE-79