Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | >= 8.1.0, < 8.1.2.1 |
Related Weaknesses (CWE)
References
- https://github.com/rails/rails/commit/6752711c8c31d79ba50d13af6a6698a3b85415e0Patch
- https://github.com/rails/rails/releases/tag/v8.1.2.1Release Notes
- https://github.com/rails/rails/security/advisories/GHSA-pgm4-439c-5jp6Vendor Advisory
FAQ
What is CVE-2026-33167?
CVE-2026-33167 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 ...
How severe is CVE-2026-33167?
CVE-2026-33167 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-33167?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Rails.