PT-2026-27257 · Unknown+1 · Active Support+1
Jean Boussier
·
Publicado
2026-03-23
·
Atualizado
2026-05-08
·
CVE-2026-33170
CVSS v3.1
6.1
Média
| Vetor | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Active Support versions prior to 8.1.2.1
Active Support versions prior to 8.0.4.1
Active Support versions prior to 7.2.3.1
Description
The
SafeBuffer#% function does not correctly propagate the @html unsafe flag to newly created buffers. If a SafeBuffer is modified in place, such as through the gsub! function, and then formatted using the % operator with untrusted input, the resulting buffer may incorrectly report as html safe? == true. This can bypass ERB auto-escaping, potentially leading to cross-site scripting (XSS).Recommendations
Update to Active Support version 8.1.2.1 or later.
Update to Active Support version 8.0.4.1 or later.
Update to Active Support version 7.2.3.1 or later.
Exploit
Correção
XSS
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Active Support
Red Os