GitHub Advisoryadvisory · npm

GHSA-j6p2-cx3w-6jcp Cross-Site Scripting in backbone

MEDIUM Published 2019-02-18 Modified 2026-01-16 Official page ↗
Aliases
CVE-2016-10537
Ecosystem
npm
Packages
backbone
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2020-06-16

Affected packages

• npm backbone: >= 0.3.3, < 0.5.0 → fixed in 0.5.0

Description

Affected versions of `backbone` are vulnerable to cross-site scripting when users are allowed to supply input to the `Model#Escape` function, and the output is then written to the DOM. The vulnerability occurs as a result of the regular expression used to encode metacharacters failing to take HTML Entities such as `&#60;` into account. Recommendation Update to version 0.5.0 or later.

Related

Alias · CVE (1)

  • CVE-2016-10537 backbone is a module that adds in structure to a JavaScript heavy application through key-value pairs and custom events connecting to your… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References