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.

Project Subscriptions

Vendors Products
Rubyonrails Subscribe
Actionpack Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-pgm4-439c-5jp6 Rails has a possible XSS vulnerability in its Action Pack debug exceptions
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 24 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

threat_severity

Moderate


Tue, 24 Mar 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Rubyonrails
Rubyonrails actionpack
Vendors & Products Rubyonrails
Rubyonrails actionpack

Tue, 24 Mar 2026 02:30:00 +0000

Type Values Removed Values Added
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.
Title Rails has a possible XSS vulnerability in its Action Pack debug exceptions
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 1.3, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-23T23:18:56.415Z

Reserved: 2026-03-17T21:17:08.888Z

Link: CVE-2026-33167

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-23T23:17:12.707

Modified: 2026-03-23T23:17:12.707

Link: CVE-2026-33167

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-03-23T22:58:53Z

Links: CVE-2026-33167 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-03-24T10:30:03Z

Weaknesses