VDB
KO
LOW

GHSA-pgm4-439c-5jp6

Rails has a possible XSS vulnerability in its Action Pack debug exceptions

Details

### 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](https://hackerone.com/fbettag).

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems / actionpack
Introduced in: 8.1.0 Fixed in: 8.1.2.1
Fix bundle update actionpack

References