Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/71475?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/71475?format=api", "purl": "pkg:npm/md-to-pdf@5.2.5", "type": "npm", "namespace": "", "name": "md-to-pdf", "version": "5.2.5", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48431?format=api", "vulnerability_id": "VCID-undq-xcm3-uqbu", "summary": "md-to-pdf vulnerable to arbitrary JavaScript code execution when parsing front matter\nA Markdown front-matter block that contains JavaScript delimiter causes the JS engine in gray-matter library to execute arbitrary code in the Markdown to PDF converter process of **md-to-pdf** library, resulting in remote code execution.", "references": [ { "reference_url": "https://github.com/simonhaenisch/md-to-pdf", "reference_id": "", "reference_type": "", "scores": [ { "value": "10.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/simonhaenisch/md-to-pdf" }, { "reference_url": "https://github.com/simonhaenisch/md-to-pdf/commit/46bdcf2051c8d1758b391c1353185a179a47a4d9", "reference_id": "", "reference_type": "", "scores": [ { "value": "10.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/simonhaenisch/md-to-pdf/commit/46bdcf2051c8d1758b391c1353185a179a47a4d9" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-65108", "reference_id": "CVE-2025-65108", "reference_type": "", "scores": [ { "value": "10.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-65108" }, { "reference_url": "https://github.com/advisories/GHSA-547r-qmjm-8hvw", "reference_id": "GHSA-547r-qmjm-8hvw", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-547r-qmjm-8hvw" }, { "reference_url": "https://github.com/simonhaenisch/md-to-pdf/security/advisories/GHSA-547r-qmjm-8hvw", "reference_id": "GHSA-547r-qmjm-8hvw", "reference_type": "", "scores": [ { "value": "10.0", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H" }, { "value": "CRITICAL", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/simonhaenisch/md-to-pdf/security/advisories/GHSA-547r-qmjm-8hvw" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/71475?format=api", "purl": "pkg:npm/md-to-pdf@5.2.5", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/md-to-pdf@5.2.5" } ], "aliases": [ "CVE-2025-65108", "GHSA-547r-qmjm-8hvw" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-undq-xcm3-uqbu" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/md-to-pdf@5.2.5" }