Cross-site Scripting (XSS) Affecting handlebars package, versions [,1.0.0)


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-DOTNET-HANDLEBARS-60166
  • published6 Nov 2015
  • disclosed6 Nov 2015

Introduced: 6 Nov 2015

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

Overview

Previously, only < and > were escaped. This meant that any Handlebars template that used user input in an HTML attribute value was wide open to a trivial XSS exploit. Note that unquoted attribute values are still open to attack, but this set of characters at least brings Handlebars in line with other Mustache implementations and other template languages.

Details

<>

CVSS Scores

version 3.1