Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/58102?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/58102?format=api", "purl": "pkg:npm/jquery.terminal@1.21.0", "type": "npm", "namespace": "", "name": "jquery.terminal", "version": "1.21.0", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.31.1", "latest_non_vulnerable_version": "2.31.1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41011?format=api", "vulnerability_id": "VCID-24q8-vfny-2yfh", "summary": "Reflected Cross-Site Scripting in jquery.terminal\nVersions of `jquery.terminal` are vulnerable to Reflected Cross-Site Scripting. If the application has either of the options `anyLinks` or `invokeMethods` set to true, the application may execute arbitrary JavaScript through crafted malicious payloads due to insufficient sanitization.", "references": [ { "reference_url": "https://github.com/jcubic/jquery.terminal/commit/c8b7727d21960031b62a4ef1ed52f3c634046211", "reference_id": "", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/jcubic/jquery.terminal/commit/c8b7727d21960031b62a4ef1ed52f3c634046211" }, { "reference_url": "https://www.npmjs.com/advisories/769", "reference_id": "", "reference_type": "", "scores": [ { "value": "MODERATE", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/769" }, { "reference_url": "https://github.com/advisories/GHSA-2hwp-g4g7-mwwj", "reference_id": "GHSA-2hwp-g4g7-mwwj", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-2hwp-g4g7-mwwj" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/58102?format=api", "purl": "pkg:npm/jquery.terminal@1.21.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery.terminal@1.21.0" } ], "aliases": [ "GHSA-2hwp-g4g7-mwwj", "GMS-2019-36" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-24q8-vfny-2yfh" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery.terminal@1.21.0" }