Cross-site Scripting (XSS) Affecting ruby2.5-stdlib package, versions <2.5.7-4.8.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.64% (80th 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-RUBY25STDLIB-2715061
  • published14 Apr 2022
  • disclosed20 Mar 2020

Introduced: 20 Mar 2020

CVE-2012-6708  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade SLES:15.1 ruby2.5-stdlib to version 2.5.7-4.8.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby2.5-stdlib package and not the ruby2.5-stdlib package as distributed by SLES. See How to fix? for SLES:15.1 relevant fixed versions and status.

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.

CVSS Scores

version 3.1