Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/68843?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/68843?format=api", "purl": "pkg:npm/color-name@2.0.1", "type": "npm", "namespace": "", "name": "color-name", "version": "2.0.1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.0.2", "latest_non_vulnerable_version": "2.0.2", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/348666?format=api", "vulnerability_id": "VCID-a3p7-p8e5-auhj", "summary": "Malware in color-name\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.", "references": [ { "reference_url": "https://github.com/github/advisory-database/issues/6099", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/github/advisory-database/issues/6099" }, { "reference_url": "https://github.com/advisories/GHSA-m99c-cfww-cxqx", "reference_id": "GHSA-m99c-cfww-cxqx", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-m99c-cfww-cxqx" } ], "fixed_packages": [], "aliases": [ "GHSA-m99c-cfww-cxqx" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a3p7-p8e5-auhj" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/20037?format=api", "vulnerability_id": "VCID-p8y5-zfmu-duhg", "summary": "color-name@2.0.1 contains malware after npm account takeover\nOn 8 September 2025, an npm publishing account for `color-name` was taken over after a phishing attack. Version `2.0.1` was published, functionally identical to the previous patch version, but with a malware payload added attempting to redirect cryptocurrency transactions to the attacker's own addresses from within browser environments.\n\nLocal environments, server environments, command line applications, etc. are not affected. If the package was used in a browser context (e.g. a direct `<script>` inclusion, or via a bundling tool such as Babel, Rollup, Vite, Next.js, etc.) there is a chance the malware still exists and such bundles will need to be rebuilt.\n\nThe malware seemingly only targets cryptocurrency transactions and wallets such as MetaMask. See references below for more information on the payload.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-59145.json", "reference_id": "", "reference_type": "", "scores": [], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-59145.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2025-59145", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00105", "scoring_system": "epss", "scoring_elements": "0.28248", "published_at": "2026-05-30T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2025-59145" }, { "reference_url": "https://github.com/colorjs/color-name", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Red" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/colorjs/color-name" }, { "reference_url": "https://github.com/debug-js/debug/issues/1005", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Red" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-09-15T20:39:50Z/" } ], "url": "https://github.com/debug-js/debug/issues/1005" }, { "reference_url": "https://socket.dev/blog/npm-author-qix-compromised-in-major-supply-chain-attack", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Red" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-09-15T20:39:50Z/" } ], "url": "https://socket.dev/blog/npm-author-qix-compromised-in-major-supply-chain-attack" }, { "reference_url": "https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Red" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-09-15T20:39:50Z/" } ], "url": "https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised" }, { "reference_url": "https://www.ox.security/blog/npm-packages-compromised", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Red" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-09-15T20:39:50Z/" } ], "url": "https://www.ox.security/blog/npm-packages-compromised" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2395535", "reference_id": "2395535", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2395535" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59145", "reference_id": "CVE-2025-59145", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Red" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-59145" }, { "reference_url": "https://github.com/advisories/GHSA-5fvm-p68v-5wmh", "reference_id": "GHSA-5fvm-p68v-5wmh", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-5fvm-p68v-5wmh" }, { "reference_url": "https://github.com/colorjs/color-name/security/advisories/GHSA-5fvm-p68v-5wmh", "reference_id": "GHSA-5fvm-p68v-5wmh", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv4", "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Red" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" }, { "value": "Track", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-09-15T20:39:50Z/" } ], "url": "https://github.com/colorjs/color-name/security/advisories/GHSA-5fvm-p68v-5wmh" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/68844?format=api", "purl": "pkg:npm/color-name@2.0.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/color-name@2.0.2" } ], "aliases": [ "CVE-2025-59145", "GHSA-5fvm-p68v-5wmh" ], "risk_score": null, "exploitability": "0.5", "weighted_severity": "0.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p8y5-zfmu-duhg" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/color-name@2.0.1" }