rails · Ruby on Rails · published 2026-03-23
CVE-2026-33167Rails has a possible XSS vulnerability in its Action Pack debug exceptions
Routine No exploitation evidence; EPSS 0.3%.
CVE-2026-33167 is not known to be exploited in the wild. EPSS estimates a 0.3% chance of exploitation in the next 30 days, higher than 22% of all CVEs. This Ruby on Rails vulnerability: CVSS 1.3 (v4.0). Fixed upstream in Ruby on Rails 8.1.2.1, 8.0.4.1, 7.2.3.1. Routine: patch when convenient.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
Fixed upstream in Ruby on Rails 8.1.2.1, 8.0.4.1, 7.2.3.1.
Patch events
Web frameworkRuby on Rails
Ruby on Rails security releases: 8.1.2.1, 8.0.4.1, 7.2.3.1
Upgrade to
8.1.2.18.0.4.17.2.3.1Why: Vendor security release for server software (most severe: CVE-2026-33195).
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | No | CISA KEV |
| Ransomware use | — | CISA KEV |
| EPSS (30-day exploitation probability) | 0.3% (22th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 1.3 (v4.0)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 | CNA / CISA ADP |
| SSVC exploitation | none | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Affected versions (from the CVE record)#
- rails actionpack
>= 8.1.0, < 8.1.2.1(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.