CVE-2026-33167: Rails has a possible XSS vulnerability in its Action Pack debug exceptions

Published Mar 23, 2026
·
Updated

Impact 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.considerallrequestslocal = true), which is the default in development.

Releases The fixed releases are available at the normal locations.

Other sources

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.considerallrequestslocal = true), which is the default in development. Version 8.1.2.1 contains a patch.

MITRE

Affected Software

2 affected componentsFixes available
rubygems/actionpack>=8.1.0<8.1.2.1
8.1.2.1
rubyonrails Rails>=8.1.0<8.1.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rubygems/actionpack to a version that resolves this vulnerability.

    Fixed in 8.1.2.1
  2. Upgrade

    Upgrade rails/actionpack to a version that resolves this vulnerability.

    Fixed in 8.1.2.1

Event History

Mar 23, 2026
Advisory Published
via GitHub·08:45 PM
Data Sourced
via GitHub·08:45 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·10:58 PM
Data Sourced
via MITRE·10:58 PM
DescriptionWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-33167?

CVE-2026-33167 is a moderate severity vulnerability due to its potential for XSS attacks.

2

How do I fix CVE-2026-33167?

To fix CVE-2026-33167, upgrade to actionpack version 8.1.2.1 or later.

3

What type of vulnerability is CVE-2026-33167?

CVE-2026-33167 is classified as a Cross-Site Scripting (XSS) vulnerability.

4

Which software is affected by CVE-2026-33167?

CVE-2026-33167 affects applications using the actionpack version between 8.1.0 and 8.1.2.1 with detailed exception pages enabled.

5

Can CVE-2026-33167 lead to data theft?

Yes, if exploited, CVE-2026-33167 can lead to data theft through the execution of arbitrary JavaScript.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203