Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/265168?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/265168?format=api", "purl": "pkg:npm/bootstrap-vue@1.0.2", "type": "npm", "namespace": "", "name": "bootstrap-vue", "version": "1.0.2", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.0.0-rc.12", "latest_non_vulnerable_version": "2.0.0-rc.12", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53072?format=api", "vulnerability_id": "VCID-ruae-n7sf-sqhc", "summary": "Cross-Site Scripting in bootstrap-vue\nVersions of `bootstrap-vue` are vulnerable to Cross-Site Scripting. Due to insufficient input sanitization, components may be vulnerable to Cross-Site Scripting through the `options` variable. This may lead to the execution of malicious JavaScript on the user's browser.", "references": [ { "reference_url": "https://github.com/bootstrap-vue/bootstrap-vue", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/bootstrap-vue/bootstrap-vue" }, { "reference_url": "https://github.com/bootstrap-vue/bootstrap-vue/commit/ba6f3f8359e257589d744f180312c09bf9f12289", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/bootstrap-vue/bootstrap-vue/commit/ba6f3f8359e257589d744f180312c09bf9f12289" }, { "reference_url": "https://github.com/bootstrap-vue/bootstrap-vue/issues/1974", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/bootstrap-vue/bootstrap-vue/issues/1974" }, { "reference_url": "https://github.com/bootstrap-vue/bootstrap-vue/pull/2134", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/bootstrap-vue/bootstrap-vue/pull/2134" }, { "reference_url": "https://www.npmjs.com/advisories/770", "reference_id": "", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/770" }, { "reference_url": "https://github.com/advisories/GHSA-c7pp-x73h-4m2v", "reference_id": "GHSA-c7pp-x73h-4m2v", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-c7pp-x73h-4m2v" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/78070?format=api", "purl": "pkg:npm/bootstrap-vue@2.0.0-rc.12", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/bootstrap-vue@2.0.0-rc.12" } ], "aliases": [ "GHSA-c7pp-x73h-4m2v", "GMS-2020-126" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ruae-n7sf-sqhc" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/bootstrap-vue@1.0.2" }