Advisory

GHSA-pgm4-439c-5jp6

Also known as: CVE-2026-33167

Summary

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2026-03-23 20:45 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

actionpack

RubyGems · All systems

Affected

  • introduced 8.1.0, fixed 8.1.2.1 (ecosystem)

Fixed versions

8.1.2.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences