Cross-site Scripting (XSS) Affecting ruby3.2-rails-8.1 package, versions <8.1.3-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.33% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-RUBY32RAILS81-15793799
  • published28 Mar 2026
  • disclosed23 Mar 2026

Introduced: 23 Mar 2026

CVE-2026-33167  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Wolfi ruby3.2-rails-8.1 to version 8.1.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.2-rails-8.1 package and not the ruby3.2-rails-8.1 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1