Medium severity · published Mar 23, 2026
CVE-2026-33167
Rails has a possible XSS vulnerability in its Action Pack debug exceptions
6.1
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 18% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AC
actionpack · rails
>= 8.1.0, < 8.1.2.1 · source: vendor
RA
Rails · Rubyonrails
8.1.0 before 8.1.2.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-33167
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-33167
Patch
https://github.com/rails/rails/commit/6752711c8c31d79ba50d13af6a6698a3b85415e0
Release Notes
https://github.com/rails/rails/releases/tag/v8.1.2.1
Vendor Advisory
https://github.com/rails/rails/security/advisories/GHSA-pgm4-439c-5jp6
