Skip to main content
VulnerabilityPublished

CVE-2026-33167: rails actionpack · Cross-site Scripting

Affects rails actionpackSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 1.3 Low : upgrade to 8.1.2.1 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
1.3Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.1.2.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade rails actionpack to 8.1.2.1.

Affected software

ProductAffectedFixed in
railsactionpackAffected
  • >=8.1.0 <8.1.2.1
Fixed in
  • 8.1.2.1
RubyGemsactionpackpkg:gem/actionpackOther threatsAffected
  • <8.1.2.1
Fixed in
  • 8.1.2.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate this vulnerability, organizations should upgrade the Action Pack gem to version 8.1.2.1 or later, where the issue is patched. Additionally, it is critical to ensure that detailed exception pages (`config.consider_all_requests_local`) are disabled in production and publicly accessible environments to prevent exposure of debug information. Implement strict access controls and environment separation to avoid accidental exposure of development configurations. Developers should sanitize and validate all inputs that could influence exception messages. Monitoring and logging should be enhanced to detect unusual exception messages or attempts to trigger debug pages. Finally, conduct regular dependency audits and apply security patches promptly to minimize exposure to known vulnerabilities.

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.

References

Community reviews

Loading reviews…