CVE-2026-33170 Rails Active Support has a possible XSS vulnerability in SafeBuffer#%
MediumCVSS 5.3
EPSS 0.38%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- UbuntuDebianRed Hat
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems activesupport(RubyGems) | >= 8.1.0.beta1, < 8.1.2.1 | 8.1.2.1 |
| rubygems activesupport(RubyGems) | = 8.1.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.1.0.beta1 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.1.0.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.1.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.1.2 | No fix listed |
| rubygems activesupport(RubyGems) | >= 8.0.0.beta1, < 8.0.4.1 | 8.0.4.1 |
| rubygems activesupport(RubyGems) | = 8.0.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.0.0.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.0.0.beta1 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.0.0.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.0.0.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.0.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.0.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.0.2.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.0.3 | No fix listed |
| rubygems activesupport(RubyGems) | = 8.0.4 | No fix listed |
| rubygems activesupport(RubyGems) | < 7.2.3.1 | 7.2.3.1 |
| rubygems activesupport(RubyGems) | = 1.0.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.0.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.0.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.0.3 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.0.4 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.1.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.1.1 | No fix listed |
Show 175 more
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems activesupport(RubyGems) | = 1.2.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.2.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.2.3 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.2.4 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.2.5 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.3.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.3.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.4.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.4.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.4.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.4.3 | No fix listed |
| rubygems activesupport(RubyGems) | = 1.4.4 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.0.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.0.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.0.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.0.4 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.0.5 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.1.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.1.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.1.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.2.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.2.3 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.10 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.11 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.12 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.14 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.15 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.16 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.17 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.18 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.3 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.4 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.5 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.6 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.6.pre | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.7 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.8 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.8.pre1 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.9 | No fix listed |
| rubygems activesupport(RubyGems) | = 2.3.9.pre | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.0.beta | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.0.beta2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.0.beta3 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.0.beta4 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.0.rc | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.0.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.10 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.10.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.11 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.12 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.12.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.13 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.13.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.14 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.15 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.16 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.17 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.18 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.19 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.20 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.3 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.4 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.4.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.5 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.5.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.6 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.6.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.6.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.7 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.7.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.7.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.8 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.8.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.8.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.8.rc4 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.9 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.9.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.9.rc3 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.9.rc4 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.9.rc5 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.0.pre | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.0.beta1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.0.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.0.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.0.rc3 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.0.rc4 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.0.rc5 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.0.rc6 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.0.rc8 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.1.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.1.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.1.rc3 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.10 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.11 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.12 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.2.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.2.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.3 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.4 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.4.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.5 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.5.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.6 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.7 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.8 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.1.9 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.0.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.0.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.10 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.11 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.12 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.13 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.13.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.13.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.14 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.14.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.14.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.15 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.15.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.15.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.15.rc3 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.16 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.17 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.18 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.19 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.2.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.20 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.21 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.22 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.22.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.22.2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.22.3 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.22.4 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.22.5 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.3 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.3.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.3.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.4 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.4.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.5 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.6 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.7 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.7.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.8 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.8.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.8.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.9 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.9.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.9.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 3.2.9.rc3 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.0 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.0.beta1 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.0.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.0.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.1.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.1.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.1.rc3 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.1.rc4 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.10 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.10.rc1 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.10.rc2 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.11 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.11.1 | No fix listed |
| rubygems activesupport(RubyGems) | = 4.0.12 | No fix listed |
References
- https://github.com/rails/rails/security/advisories/GHSA-89vf-4333-qx8v vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/rails/rails/commit/50d732af3b7c8aaf63cbcca0becbc00279b215b7 patch
- https://github.com/rails/rails/commit/6e8a81108001d58043de9e54a06fca58962fc2db patch
- https://github.com/rails/rails/commit/c1ad0e8e1972032f3395853a5e99cea035035beb patch
- github.com product
- https://github.com/rails/rails/releases/tag/v7.2.3.1 release-notes
- https://github.com/rails/rails/releases/tag/v8.0.4.1 release-notes
- https://github.com/rails/rails/releases/tag/v8.1.2.1 release-notes
- github.com exploit
- github.com
- Debian Security Tracker CVE-2026-33170 vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2450543 issue-tracking
- www.cve.org
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking