CVE-2026-33167
EPSS 0.02%Rails has a possible XSS vulnerability in its Action Pack debug exceptions
Published: 3/23/2026Modified: 5/13/2026
Description
### Impact The debug exceptions page does not properly escape exception messages. A carefully crafted exception message could inject arbitrary HTML and JavaScript into the page, leading to XSS. This affects applications with detailed exception pages enabled (`config.consider_all_requests_local = true`), which is the default in development. ### Releases The fixed releases are available at the normal locations. ### Credit This issue was responsibly reported by Hackerone researcher [fbettag](https://hackerone.com/fbettag).
Affected packages (1)
- RubyGems/actionpack>= 8.1.0, < 8.1.2.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-33167
- PATCHhttps://github.com/rails/rails
- WEBhttps://github.com/rails/rails/commit/6752711c8c31d79ba50d13af6a6698a3b85415e0
- WEBhttps://github.com/rails/rails/releases/tag/v8.1.2.1
- WEBhttps://github.com/rails/rails/security/advisories/GHSA-pgm4-439c-5jp6
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2026-33167.yml