{"id":"CVE-2026-33167","published":"2026-03-23T22:58:53Z","modified":"2026-03-24T18:44:13Z","title":"Rails has a possible XSS vulnerability in its Action Pack debug exceptions","vendor":"rails","product":"actionpack","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":1.3,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00292,"percentile":0.22294,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-pgm4-439c-5jp6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/6752711c8c31d79ba50d13af6a6698a3b85415e0","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":4.46},{"name":"CVSS severity","points":0.91}]},"vendorSlug":"rails","affectedVersions":[{"vendor":"rails","product":"actionpack","versions":[">= 8.1.0, < 8.1.2.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-24T18:44:05.658370Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"actionpack","vulnerableRanges":[">=8.1.0, <8.1.2.1"],"patched":["8.1.2.1"],"from":["GHSA-pgm4-439c-5jp6"],"provenance":"source"}],"summary":{"text":"The debug exceptions page in Action Pack, the Rubygem that provides Rails' web application framework, fails to escape exception messages in versions on the 8.1 branch prior to 8.1.2.1, enabling cross-site scripting. An attacker who can supply a crafted exception message can inject HTML and JavaScript into the page, but only in applications with detailed exception pages enabled (config.consider_all_requests_local = true, the default in development) and only when user interaction is required to trigger it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:37Z"},"euvd":{"id":"EUVD-2026-14614","exploited":false,"provenance":"source"}}