Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/957257?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/957257?format=api", "purl": "pkg:npm/survey-pdf@1.8.52", "type": "npm", "namespace": "", "name": "survey-pdf", "version": "1.8.52", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.12.59", "latest_non_vulnerable_version": "2.5.5", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50009?format=api", "vulnerability_id": "VCID-qnc2-3ags-k3eq", "summary": "survey-pdf Upgraded jsPDF Version Due to Security Vulnerability\nThe following security vulnerability was identified in jsPDF versions <=3.0.4: [Local File Inclusion/Path Traversal](https://github.com/parallax/jsPDF/security/advisories/GHSA-f8cm-6447-x5h2).", "references": [ { "reference_url": "https://github.com/surveyjs/survey-pdf", "reference_id": "", "reference_type": "", "scores": [ { "value": "9.2", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/surveyjs/survey-pdf" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25630", "reference_id": "CVE-2026-25630", "reference_type": "", "scores": [ { "value": "9.2", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25630" }, { "reference_url": "https://github.com/parallax/jsPDF/security/advisories/GHSA-f8cm-6447-x5h2", "reference_id": "GHSA-f8cm-6447-x5h2", "reference_type": "", "scores": [ { "value": "9.2", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/parallax/jsPDF/security/advisories/GHSA-f8cm-6447-x5h2" }, { "reference_url": "https://github.com/advisories/GHSA-h3q6-jfrg-3x6q", "reference_id": "GHSA-h3q6-jfrg-3x6q", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-h3q6-jfrg-3x6q" }, { "reference_url": "https://github.com/surveyjs/survey-pdf/security/advisories/GHSA-h3q6-jfrg-3x6q", "reference_id": "GHSA-h3q6-jfrg-3x6q", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "9.2", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/surveyjs/survey-pdf/security/advisories/GHSA-h3q6-jfrg-3x6q" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/73857?format=api", "purl": "pkg:npm/survey-pdf@1.12.59", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/survey-pdf@1.12.59" }, { "url": "http://public2.vulnerablecode.io/api/packages/73858?format=api", "purl": "pkg:npm/survey-pdf@2.5.5", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/survey-pdf@2.5.5" } ], "aliases": [ "CVE-2026-25630", "GHSA-h3q6-jfrg-3x6q" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qnc2-3ags-k3eq" } ], "fixing_vulnerabilities": [], "risk_score": "4.5", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/survey-pdf@1.8.52" }