CVE-2016-10537
Npm vulnerability
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 products
Npm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Npm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- nodesecurity.io/advisories/108 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2016-10537
- github.com/jashkenas/backbone/commit/0cdc525961d3fa98e810ffae6bcc8e3838e36d93
- backbonejs.org/#changelog
- github.com/jashkenas/backbone/compare/0.3.3...0.5.0#diff-0d56d0d310de7ff18b3cef9c2f8f75dcL
- github.com/jashkenas/backbone/commit/7ae0384120c2552e1c426cda7fb02fdce6ef1076
- github.com/jashkenas/backbone/blame/0cdc525961d3fa98e810ffae6bcc8e3838e36d93/backbone.js
- github.com/advisories/GHSA-j6p2-cx3w-6jcp
- nvd.nist.gov/vuln/detail/CVE-2016-10537
- cve.org/CVERecord?id=CVE-2016-10537
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.