PT-2026-27257 · Unknown+1 · Active Support+1
Jean Boussier
·
Published
2026-03-23
·
Updated
2026-05-08
·
CVE-2026-33170
CVSS v3.1
6.1
Medium
| Vector | 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
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Active Support
Red Os