Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/37559?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37559?format=api", "vulnerability_id": "VCID-9pvf-jnbf-qqej", "summary": "Potential XSS Exploit When Binding tagName to User-Supplied Data\nIn general, Ember.js escapes or strips any user-supplied content before inserting it in strings that will be sent to innerHTML. However, the `tagName` property of an `Ember.View` was inserted into such a string without being sanitized. This means that if an application assigns a view's `tagName` to user-supplied data, a specially-crafted payload could execute arbitrary JavaScript in the context of the current domain (\"XSS\"). This vulnerability only affects applications that assign or bind user-provided content to `tagName`.", "aliases": [ { "alias": "CVE-2013-4170" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/51524?format=api", "purl": "pkg:gem/ember-source@1.0.0.rc6.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@1.0.0.rc6.1" } ], "affected_packages": [], "references": [ { "reference_url": "https://github.com/emberjs/ember.js/commit/f70a8fa0647ef3a13c3c8ea1d7ba7fca22ea5f8e", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/emberjs/ember.js/commit/f70a8fa0647ef3a13c3c8ea1d7ba7fca22ea5f8e" }, { "reference_url": "https://groups.google.com/forum/#!topic/ember-security/dokLVwwxAdM", "reference_id": "", "reference_type": "", "scores": [], "url": "https://groups.google.com/forum/#!topic/ember-security/dokLVwwxAdM" } ], "weaknesses": [ { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9pvf-jnbf-qqej" }