1.3Low

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

rails actionpack Published: (7 months ago)

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
rails actionpack >= 8.1.0, < 8.1.2.1
rubyonrails rails 8.1.0 – < 8.1.2.1

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* ≥ 8.1.0 < 8.1.2.1