| Package | Affected versions | Patched versions |
|---|---|---|
| actionpack | ≥ 8.1.0, < 8.1.2.1 | 8.1.2.1 |
| rails | ≥ 8.1.0, < 8.1.2.1 | 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.
The fixed releases are available at the normal locations.
This issue was responsibly reported by Hackerone researcher fbettag.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free