Cross-site Scripting (XSS) Affecting handlebars package, versions <1.0.4-beta


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 IDnpm:handlebars:20110425
  • published6 Nov 2015
  • disclosed6 Nov 2015
  • creditUnknown

Introduced: 6 Nov 2015

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

Overview

handlebars provides the power necessary to let you build semantic templates.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) attacks. Only the < and > chars were escaped. This meant that any Handlebars template that user used 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

<>

References

CVSS Scores

version 3.1