Cross-site Scripting (XSS) Affecting ruby2.5-rubygem-actionview-5_1 package, versions <5.1.4-3.3.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.2% (58th 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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES151-RUBY25RUBYGEMACTIONVIEW51-2712163
  • published14 Apr 2022
  • disclosed5 May 2020

Introduced: 5 May 2020

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

How to fix?

Upgrade SLES:15.1 ruby2.5-rubygem-actionview-5_1 to version 5.1.4-3.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby2.5-rubygem-actionview-5_1 package and not the ruby2.5-rubygem-actionview-5_1 package as distributed by SLES. See How to fix? for SLES:15.1 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