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

exploitDog

github логотип

GHSA-89vf-4333-qx8v

Опубликовано: 23 мар. 2026
Источник: github
Github: Прошло ревью
CVSS4: 5.3

Описание

Rails Active Support has a possible XSS vulnerability in SafeBuffer#%

Impact

SafeBuffer#% does not propagate the @html_unsafe flag to the newly created buffer. If a SafeBuffer is mutated in place (e.g. via gsub!) and then formatted with % using untrusted arguments, the result incorrectly reports html_safe? == true, bypassing ERB auto-escaping and possibly leading to XSS.

Releases

The fixed releases are available at the normal locations.

Credit

This issue was responsibly reported by @ch4n3-yoon

Пакеты

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

activesupport

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

>= 8.1.0.beta1, < 8.1.2.1

8.1.2.1

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

activesupport

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

>= 8.0.0.beta1, < 8.0.4.1

8.0.4.1

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

activesupport

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

< 7.2.3.1

7.2.3.1

EPSS

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

5.3 Medium

CVSS4

Дефекты

CWE-79

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

CVSS3: 6.1
ubuntu
4 месяца назад

Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `SafeBuffer#%` does not propagate the `@html_unsafe` flag to the newly created buffer. If a `SafeBuffer` is mutated in place (e.g. via `gsub!`) and then formatted with `%` using untrusted arguments, the result incorrectly reports `html_safe? == true`, bypassing ERB auto-escaping and possibly leading to XSS. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS3: 5.4
redhat
4 месяца назад

Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `SafeBuffer#%` does not propagate the `@html_unsafe` flag to the newly created buffer. If a `SafeBuffer` is mutated in place (e.g. via `gsub!`) and then formatted with `%` using untrusted arguments, the result incorrectly reports `html_safe? == true`, bypassing ERB auto-escaping and possibly leading to XSS. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS3: 6.1
nvd
4 месяца назад

Active Support is a toolkit of support libraries and Ruby core extensions extracted from the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `SafeBuffer#%` does not propagate the `@html_unsafe` flag to the newly created buffer. If a `SafeBuffer` is mutated in place (e.g. via `gsub!`) and then formatted with `%` using untrusted arguments, the result incorrectly reports `html_safe? == true`, bypassing ERB auto-escaping and possibly leading to XSS. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

CVSS3: 6.1
debian
4 месяца назад

Active Support is a toolkit of support libraries and Ruby core extensi ...

CVSS3: 5.3
fstec
4 месяца назад

Уязвимость компонента activesupport программной платформы Ruby on Rails, позволяющая нарушителю выполнить произвольный код

EPSS

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

5.3 Medium

CVSS4

Дефекты

CWE-79