Cross-site Scripting (XSS) Affecting rails package, versions <2:6.1.7.10+dfsg-1~deb12u3


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-ECHOLATEST-RAILS-18427247
  • published30 Jul 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 Echo:latest rails to version 2:6.1.7.10+dfsg-1~deb12u3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rails package and not the rails package as distributed by Echo. See How to fix? for Echo:latest 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.