Cross-site Scripting (XSS) Affecting haml package, versions <3.2.0.beta.3


Severity

Recommended
0.0
medium
0
10

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

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-HAML-20339
  • published13 Mar 2017
  • disclosed18 Aug 2012
  • creditNorman Clarke

Introduced: 18 Aug 2012

CVE NOT AVAILABLE CWE-79  (opens in a new tab)

How to fix?

Upgrade haml to version 3.2.0.beta.3 or higher.

Overview

haml is a layer on top of HTML or XML that's designed to express the structure of documents in an elegant way.

Affected versions of the package are vulnerable to Cross-site Scripting (XSS). There is no character escaping in the :erb filter.

Details

<>

CVSS Scores

version 3.1