Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/53433?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/53433?format=api", "purl": "pkg:gem/ember-source@1.12.0a", "type": "gem", "namespace": "", "name": "ember-source", "version": "1.12.0a", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.12.0", "latest_non_vulnerable_version": "2.2.1", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38543?format=api", "vulnerability_id": "VCID-a5hm-euty-z7g1", "summary": "XSS Vulnerability with User-Supplied JSON\nBy default, Ember will escape any values in Handlebars templates that use double curlies (`{{value}}`). Developers can specifically opt out of this escaping behavior by passing an instance of `SafeString` rather than a raw string, which tells Ember that it should not escape the string because the developer has taken responsibility for escapement. It is possible for an attacker to create a specially-crafted payload that causes a non-sanitized string to be treated as a `SafeString`, and thus bypass Ember's normal escaping behavior. This could allow an attacker to execute arbitrary JavaScript in the context of the current domain (\"XSS\").", "references": [ { "reference_url": "https://groups.google.com/forum/#!topic/ember-security/OfyQkoSuppY", "reference_id": "", "reference_type": "", "scores": [], "url": "https://groups.google.com/forum/#!topic/ember-security/OfyQkoSuppY" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/53439?format=api", "purl": "pkg:gem/ember-source@1.12.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@1.12.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/53440?format=api", "purl": "pkg:gem/ember-source@1.13.12", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@1.13.12" }, { "url": "http://public2.vulnerablecode.io/api/packages/53441?format=api", "purl": "pkg:gem/ember-source@2.0.3", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@2.0.3" }, { "url": "http://public2.vulnerablecode.io/api/packages/53442?format=api", "purl": "pkg:gem/ember-source@2.1.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@2.1.2" }, { "url": "http://public2.vulnerablecode.io/api/packages/53443?format=api", "purl": "pkg:gem/ember-source@2.2.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@2.2.1" } ], "aliases": [ "CVE-2015-7565" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a5hm-euty-z7g1" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38859?format=api", "vulnerability_id": "VCID-eafw-zr9e-ryfu", "summary": "Vulnerability With {{view \"select\"}} Options\nIn general, Ember.js escapes or strips any user-supplied content before inserting it in strings that will be sent to innerHTML. However, a change made to the implementation of the select view means that any user-supplied data bound to an option's label will not be escaped correctly. In applications that use Ember's select view and pass user-supplied content to the label, a specially-crafted payload could execute arbitrary JavaScript in the context of the current domain (\"XSS\").", "references": [ { "reference_url": "https://groups.google.com/forum/#!topic/ember-security/nbntfs2EbRU", "reference_id": "", "reference_type": "", "scores": [], "url": "https://groups.google.com/forum/#!topic/ember-security/nbntfs2EbRU" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/54157?format=api", "purl": "pkg:gem/ember-source@1.12.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@1.12.0" } ], "aliases": [ "CVE-2015-1866" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-eafw-zr9e-ryfu" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/ember-source@1.12.0a" }