Cross-site Scripting (XSS) Affecting loofah package, versions <2.3.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (66th 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-RUBY-LOOFAH-474102
  • published23 Oct 2019
  • disclosed22 Oct 2019
  • creditvxhex

Introduced: 22 Oct 2019

CVE-2019-15587  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade loofah to version 2.3.1 or higher.

Overview

loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). Unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.

Details

CVSS Scores

version 3.1