NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · RubyGems

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

lowCVSS 4.0 1.3GHSA-pgm4-439c-5jp6

Impact 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.considerallrequestslocal = true), which is the default in development. Releases The fixed releases are available at the normal locations.

Published Mar 23, 2026 · Updated May 13, 2026

Affected packages

actionpack

Ecosystem
RubyGems
Affected
>= 8.1.0, < 8.1.2.1
Fixed in
8.1.2.1
Check
bundle info actionpack

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

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.

Releases

The fixed releases are available at the normal locations.

Credit

This issue was responsibly reported by Hackerone researcher fbettag.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More RubyGems vulnerabilities

All RubyGems entries