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


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.71% (53rd 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-15793786
  • published28 Mar 2026
  • disclosed23 Mar 2026

Introduced: 23 Mar 2026

CVE-2026-33168  (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 View provides conventions and helpers for building web pages with the Rails framework. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, when a blank string is used as an HTML attribute name in Action View tag helpers, the attribute escaping is bypassed, producing malformed HTML. A carefully crafted attribute value could then be misinterpreted by the browser as a separate attribute name, possibly leading to XSS. Applications that allow users to specify custom HTML attributes are affected. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.