CVE-2026-33167: rails actionpack Cross-site Scripting
Vulnerability summary
CVE-2026-33167 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in rails actionpack. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 25.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 23-03-2026PublishedVulnerability first disclosed.
- 24-03-2026Last modifiedVulnerability information updated.
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 metrics
8 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS: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:UDiffers
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS: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:UDiffers
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS: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:UDiffers
- OSV · RubygemsEcosystem advisory · calculated5.3MediumCVSS: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:UDiffers
- NVDNIST1.3LowCVSS: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
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
+0.09 pp
From 0.25% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- ruby3.2-rails-8.1< 8.1.3-r0
Rails1 product
- actionpack≥ 8.1.0, < 8.1.2.1
RubyGems1 product
- actionpack≥ 8.1.0, < 8.1.2.1
Rubyonrails1 product
- rails≥ 8.1.0, < 8.1.2.1
Ubuntu1 product
- railsAll versions (No fix recorded)
Wolfi1 product
- ruby3.2-rails-8.1< 8.1.3-r0
6 vendors · 6 products
References
9 links- github.com/rails/rails/security/advisories/GHSA-pgm4-439c-5jp6X Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory
- github.com/rails/rails/commit/6752711c8c31d79ba50d13af6a6698a3b85415e0X Refsource MISCREPORTFIXWEBPatch
- github.com/rails/railsPACKAGE