Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/51524?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/51524?format=api", "purl": "pkg:gem/ember-source@1.0.0.rc6.1", "type": "gem", "namespace": "", "name": "ember-source", "version": "1.0.0.rc6.1", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "1.0.1", "latest_non_vulnerable_version": "2.2.1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "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`.", "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" } ], "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" } ], "aliases": [ "CVE-2013-4170" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9pvf-jnbf-qqej" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@1.0.0.rc6.1" }