GHSA-89vf-4333-qx8v · Severity: medium · Ecosystem: rubygems — Rails Active Support has a possible XSS vulnerability in SafeBuffer#%
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.
Conclusion & alert: CVE-2026-33170 is rated Low Risk (22.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-24 | — | 0.02% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-89vf-4333-qx8v · Severity: medium · Ecosystem: rubygems — Rails Active Support has a possible XSS vulnerability in SafeBuffer#%
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-33170 not yet assigned priority: Debian including 1 source packages (rails), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2026-33170 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-33170 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2026-33170/ |
ubuntu
|
medium | CVE-2026-33170 medium priority: Ubuntu including 1 source packages (rails), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, upstream, xenial): needs-triage 7. | https://ubuntu.com/security/CVE-2026-33170 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| rubyonrails | rails | < 7.2.3.1 | cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
| rubyonrails | rails | >= 8.0.0, < 8.0.4.1 | cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
| rubyonrails | rails | >= 8.1.0, < 8.1.2.1 | cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |