Rails has a possible XSS vulnerability in its Action Pack debug exceptions
Description
Published to the GitHub Advisory Database
Mar 23, 2026
Reviewed
Mar 23, 2026
Published by the National Vulnerability Database
Mar 23, 2026
Last updated
Mar 25, 2026
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.
References