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

exploitDog

github логотип

GHSA-ch3h-j2vf-95pv

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

Описание

XSS Vulnerability in Action View tag helpers

There is a possible XSS vulnerability in Action View tag helpers. Passing untrusted input as hash keys can lead to a possible XSS vulnerability. This vulnerability has been assigned the CVE identifier CVE-2022-27777.

Versions Affected: ALL Not affected: NONE Fixed Versions: 7.0.2.4, 6.1.5.1, 6.0.4.8, 5.2.7.1

Impact

If untrusted data is passed as the hash key for tag attributes, there is a possibility that the untrusted data may not be properly escaped which can lead to an XSS vulnerability.

Impacted code will look something like this:

check_box_tag('thename', 'thevalue', false, aria: { malicious_input => 'thevalueofaria' })

Where the "malicious_input" variable contains untrusted data.

All users running an affected release should either upgrade or use one of the workarounds immediately.

Releases

The FIXED releases are available at the normal locations.

Workarounds

Escape the untrusted data before using it as a key for tag helper methods.

Пакеты

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

actionview

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

<= 5.2.7.0

5.2.7.1

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

actionview

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

>= 6.0.0, <= 6.0.4.7

6.0.4.8

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

actionview

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

>= 6.1.0, <= 6.1.5.0

6.1.5.1

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

actionview

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

>= 7.0.0, <= 7.0.2.3

7.0.2.4

EPSS

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

6.1 Medium

CVSS3

Дефекты

CWE-79

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

CVSS3: 6.1
ubuntu
больше 3 лет назад

A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 which would allow an attacker to inject content if able to control input into specific attributes.

CVSS3: 7.5
redhat
почти 4 года назад

A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 which would allow an attacker to inject content if able to control input into specific attributes.

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

A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 which would allow an attacker to inject content if able to control input into specific attributes.

CVSS3: 6.1
debian
больше 3 лет назад

A XSS Vulnerability in Action View tag helpers >= 5.2.0 and < 5.2.0 wh ...

suse-cvrf
больше 3 лет назад

Security update for rubygem-activesupport-5_1

EPSS

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

6.1 Medium

CVSS3

Дефекты

CWE-79