Vulnerabilities in pkg:npm/backbone
PACKAGECVE-2016-10537 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Backbone libraries in the npm ecosystem. The issue involves cross-site scripting in backbone. Remediation is available by upgrading affected packages to version 0.5.0.
pkg:npm/backbone
Vulnerability advisories affecting package pkg:npm/backbone. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-j6p2-cx3w-6jcp | CVE-2016-10537 | MODERATE | Cross-Site Scripting in backbone |
CVE-2016-10537 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2016-10537
To remediate this vulnerability, upgrade all affected Backbone dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install backbone@0.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls backbone
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2016-10537, inspect your project dependencies using npm:
npm ls backbone
Analyze the terminal output to locate any version of Backbone in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.5.0), your application is affected.
Note: The npm ls backbone command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Backbone, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2016-10537 Affected Backbone Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
backbone
|
npm |
≥ 0.3.3
< 0.5.0
|
0.5.0
|
References
Frequently Asked Questions
What is CVE-2016-10537?
Which Backbone versions are affected?
What version fixes CVE-2016-10537?
Is backbone affected?
What is the CVSS score of CVE-2016-10537?
What CWE is associated with CVE-2016-10537?
How can I check npm dependencies for CVE-2016-10537?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j6p2-cx3w-6jcp",
"modified" : "2026-01-16T22:08:33Z",
"published" : "2019-02-18T23:39:55Z",
"aliases" : [ "CVE-2016-10537" ],
"summary" : "Cross-Site Scripting in backbone",
"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. \n\nThe vulnerability occurs as a result of the regular expression used to encode metacharacters failing to take HTML Entities such as `<` into account.\n\n\n## Recommendation\n\nUpdate to version 0.5.0 or later.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "backbone"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.3.3"
}, {
"fixed" : "0.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-10537"
}, {
"type" : "WEB",
"url" : "https://github.com/jashkenas/backbone/commit/0cdc525961d3fa98e810ffae6bcc8e3838e36d93"
}, {
"type" : "WEB",
"url" : "https://github.com/jashkenas/backbone/commit/7ae0384120c2552e1c426cda7fb02fdce6ef1076"
}, {
"type" : "WEB",
"url" : "https://backbonejs.org/#changelog"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jashkenas/backbone"
}, {
"type" : "WEB",
"url" : "https://github.com/jashkenas/backbone/blame/0cdc525961d3fa98e810ffae6bcc8e3838e36d93/backbone.js"
}, {
"type" : "WEB",
"url" : "https://github.com/jashkenas/backbone/compare/0.3.3...0.5.0#diff-0d56d0d310de7ff18b3cef9c2f8f75dcL1008"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:42:17Z",
"nvd_published_at" : null
}
}