Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/271604?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/271604?format=api", "purl": "pkg:npm/mongodb-query-parser@0.1.1", "type": "npm", "namespace": "", "name": "mongodb-query-parser", "version": "0.1.1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.0.0", "latest_non_vulnerable_version": "2.0.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54281?format=api", "vulnerability_id": "VCID-nr2n-pfu7-afat", "summary": "Javascript Injection\nmongo-express offers support for certain advanced syntax but implements this in an unsafe way", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24391", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.92863", "scoring_system": "epss", "scoring_elements": "0.99775", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.92863", "scoring_system": "epss", "scoring_elements": "0.99776", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24391" }, { "reference_url": "https://github.com/mongodb-js/query-parser/issues/16", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/mongodb-js/query-parser/issues/16" }, { "reference_url": "https://github.com/mongo-express/mongo-express/commit/3a26b079e7821e0e209c3ee0cc2ae15ad467b91a", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/mongo-express/mongo-express/commit/3a26b079e7821e0e209c3ee0cc2ae15ad467b91a" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24391", "reference_id": "CVE-2020-24391", "reference_type": "", "scores": [ { "value": "9.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24391" }, { "reference_url": "https://github.com/advisories/GHSA-hxmg-hm46-cf62", "reference_id": "GHSA-hxmg-hm46-cf62", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-hxmg-hm46-cf62" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/78592?format=api", "purl": "pkg:npm/mongodb-query-parser@2.0.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mongodb-query-parser@2.0.0" } ], "aliases": [ "CVE-2020-24391", "GHSA-hxmg-hm46-cf62" ], "risk_score": 10.0, "exploitability": "2.0", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nr2n-pfu7-afat" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53538?format=api", "vulnerability_id": "VCID-rkuq-2dp1-wkeh", "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in mongodb-query-parser.", "references": [ { "reference_url": "https://www.npmjs.com/advisories/1448", "reference_id": "", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/1448" }, { "reference_url": "https://github.com/advisories/GHSA-97mg-3cr6-3x4c", "reference_id": "GHSA-97mg-3cr6-3x4c", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-97mg-3cr6-3x4c" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/78592?format=api", "purl": "pkg:npm/mongodb-query-parser@2.0.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mongodb-query-parser@2.0.0" } ], "aliases": [ "GHSA-97mg-3cr6-3x4c", "GMS-2020-390" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rkuq-2dp1-wkeh" } ], "fixing_vulnerabilities": [], "risk_score": "10.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mongodb-query-parser@0.1.1" }