CVE-2026-33167 json
Rails has a possible XSS vulnerability in its Action Pack debug exceptions
published 2026-03-23 7 mo ago modified 2026-09-10 59 d ago also EUVD-2026-14614 , GHSA-pgm4-439c-5jp6
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 17%
- public exploits
- 0
- none known
Summary
Action Pack is a Rubygem for building web applications on the Rails framework. In versions on the 8.1 branch prior to 8.1.2.1, 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. Version 8.1.2.1 contains a patch.
Patch / fix
- rubygems actionpack 8.1.2.1
- rubyonrails rails 8.1.2.1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-33167 updated cvss 5.4
Rails: Action Pack: Action Pack: Cross-Site Scripting (XSS) via improper exception message escaping
-
Red Hat Satellite 6 rubygem-actionpackaffected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 1.3 | 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 |
| CNA | 4.0 | 1.3 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionpack | >=8.1.0, <8.1.2.1 |
8.1.2.1 |
Affected products
- rails actionpack
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/rails/rails/commit/6752711c8c31d79ba50d13af6a6698a3b85415e0
web, patch
-
github.com
/rails/rails/security/advisories/GHSA-pgm4-439c-5jp6
web, vendor-advisory, advisory
-
github.com
/rails/rails/releases/tag/v8.1.2.1
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-33167
advisory
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2026-33167.yml
web
Sources
- CVE List CVE-2026-33167
- GitHub Advisory GHSA-pgm4-439c-5jp6
- NVD CVE-2026-33167
- Maintainer advisory GHSA-pgm4-439c-5jp6
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of rails/rails published their own advisory on GitHub. Reviewed sources take precedence over it.