Loading HuntDB...

GHSA-j6p2-cx3w-6jcp

GitHub Security Advisory

Cross-Site Scripting in backbone

✓ GitHub Reviewed MODERATE Has CVE

Advisory Details

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.

Affected Packages

npm backbone
Affected versions: 0 (fixed in 0.5.0)

Related CVEs

Key Information

GHSA ID
GHSA-j6p2-cx3w-6jcp
Published
February 18, 2019 11:39 PM
Last Modified
September 13, 2023 11:00 PM
CVSS Score
5.0 /10
Primary Ecosystem
npm
Primary Package
backbone
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 3, 2025 6:26 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.