{"id":"CVE-2026-33167","aliases":["GHSA-pgm4-439c-5jp6"],"url":"https://o3.security/vulnerability/CVE-2026-33167","summary":"Rails has a possible XSS vulnerability in its Action Pack debug exceptions","details":"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.","published":"2026-03-23T22:58:53.577Z","modified":"2026-09-09T03:47:46.551493034Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"actionpack","fixedVersion":"8.1.2.1"}],"fix":{"url":"https://github.com/rails/rails/commit/6752711c8c31d79ba50d13af6a6698a3b85415e0","label":"rails/rails@6752711"},"references":[{"type":"WEB","url":"https://github.com/rails/rails/releases/tag/v8.1.2.1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33167.json"},{"type":"ADVISORY","url":"https://github.com/rails/rails/security/advisories/GHSA-pgm4-439c-5jp6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33167"},{"type":"FIX","url":"https://github.com/rails/rails/commit/6752711c8c31d79ba50d13af6a6698a3b85415e0"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-09T03:47:46.551493034Z"}}