Cross-site Scripting (XSS) Affecting rails package, versions <2:5.2.4.1+dfsg-2


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.53% (73rd 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-18427201
  • published30 Jul 2026
  • disclosed19 Mar 2020

Introduced: 19 Mar 2020

CVE-2020-5267  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Echo:latest rails to version 2:5.2.4.1+dfsg-2 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.

In ActionView before versions 6.0.2.2 and 5.2.4.2, there is a possible XSS vulnerability in ActionView's JavaScript literal escape helpers. Views that use the j or escape_javascript methods may be susceptible to XSS attacks. The issue is fixed in versions 6.0.2.2 and 5.2.4.2.

CVSS Base Scores

version 3.1