Cross-site Scripting (XSS) Affecting haml package, versions <4.0.5


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-20340
  • published13 Mar 2017
  • disclosed16 Oct 2013
  • creditJesko

Introduced: 16 Oct 2013

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

How to fix?

Upgrade haml to version 4.0.5 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). The haml_concat does not have it's contents properly escaped, when used in the haml_tag block.

Details

<>

CVSS Scores

version 3.1