Skip to content

CVE-2026-33167 Rails has a possible XSS vulnerability in its Action Pack debug exceptions

LowCVSS 1.3 EPSS 0.29% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

9 packages: 2 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
redhat/rubygem-actionpack(Red Hat satellite 6) All versions No fix listed No fix yet
redhat/satellite:el8/rubygem-actionpack(Red Hat satellite 6) All versions No fix listed No fix yet
ubuntu/rails(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/rails(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/rails(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/rails(Ubuntu 26.10) All versions No fix listed No fix yet
rubygems actionpack(RubyGems) = 8.1.0; = 8.1.1; = 8.1.2; >= 8.1.0, < 8.1.2.1 8.1.2.1 Fixed
rubyonrails rails >= 8.1.0, < 8.1.2.1 8.1.2.1 Fixed
rails actionpack = >= 8.1.0, < 8.1.2.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems actionpack(RubyGems) >= 8.1.0, < 8.1.2.1 8.1.2.1
rubygems actionpack(RubyGems) = 8.1.0 No fix listed
rubygems actionpack(RubyGems) = 8.1.1 No fix listed
rubygems actionpack(RubyGems) = 8.1.2 No fix listed
rails actionpack = >= 8.1.0, < 8.1.2.1 No fix listed
redhat/rubygem-actionpack(Red Hat:satellite:6) All versions No fix listed
redhat/satellite:el8/rubygem-actionpack(Red Hat:satellite:6) All versions No fix listed
ubuntu/rails(Ubuntu:22.04) All versions No fix listed
ubuntu/rails(Ubuntu:24.04) All versions No fix listed
ubuntu/rails(Ubuntu:26.04) All versions No fix listed
ubuntu/rails(Ubuntu:26.10) All versions No fix listed
rubyonrails rails >= 8.1.0, < 8.1.2.1 8.1.2.1

References