Skip to main content
← All vulnerabilities
CVE-2026-33167GHSA-PGM4-439C-5JP6

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.1.2.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Action Pack is a Rubygem for building web applications on the Rails framework. In versions on the 8.1 branch prior to 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. Version 8.1.2.1 contains a patch.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • rails actionpack

    From 8.1.0 · fixed in 8.1.2.1

  • actionpackRubyGems

    From 8.1.0 · fixed in 8.1.2.1

References 3

GitHub · rails/rails