Cross-site Scripting (XSS) Affecting rails-html-sanitizer package, versions < 1.0.3


Severity

Recommended
0.0
medium
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-RAILSHTMLSANITIZER-20261
  • published24 Jan 2016
  • disclosed24 Jan 2016
  • creditArnaud Germis, Nate Clark, John Colvin

Introduced: 24 Jan 2016

CVE-2015-7580  (opens in a new tab)
CWE-79  (opens in a new tab)

Overview

rails-html-sanitizer is an HTML sanitization gem for Rails applications.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the white list sanitizer in the rails-html-sanitizer gem. Carefully crafted strings can cause user input to bypass the sanitization in the white list sanitizer which will can lead to an XSS attack.

Details

<>

CVSS Scores

version 3.1