jashkenas/backbone · Security

Cross-Site Scripting in backbone

GHSA ID
GHSA-j6p2-cx3w-6jcp
CVE ID
CVE-2016-10537
Severity
medium
Published
Updated
CVSS
5.4 · CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v3
5.4 · CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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 < into account.

Recommendation

Update to version 0.5.0 or later.

CWEs

References