GitHub Advisoryadvisory · RubyGems

GHSA-pgm4-439c-5jp6 Rails has a possible XSS vulnerability in its Action Pack debug exceptions

LOW Published 2026-03-23 Modified 2026-05-13 Official page ↗
Aliases
CVE-2026-33167
Ecosystem
RubyGems
Packages
actionpack
Severity
Low
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U
Weaknesses
CWE-79
Reviewed
2026-03-23

Affected packages

• RubyGems actionpack: >= 8.1.0, < 8.1.2.1 → fixed in 8.1.2.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-33167 Action Pack is a Rubygem for building web applications on the Rails framework. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References