Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/58382?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/58382?format=api", "purl": "pkg:npm/total.js@3.4.9", "type": "npm", "namespace": "", "name": "total.js", "version": "3.4.9", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/266979?format=api", "vulnerability_id": "VCID-2pdw-fzpu-8yht", "summary": "", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-44019", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.03622", "scoring_system": "epss", "scoring_elements": "0.88011", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.03622", "scoring_system": "epss", "scoring_elements": "0.88032", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.03622", "scoring_system": "epss", "scoring_elements": "0.88035", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.03622", "scoring_system": "epss", "scoring_elements": "0.88034", "published_at": "2026-06-07T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-44019" }, { "reference_url": "https://github.com/totaljs/code/issues/12", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-05-07T13:57:46Z/" } ], "url": "https://github.com/totaljs/code/issues/12" }, { "reference_url": "https://www.youtube.com/watch?v=x-u3eS8-xJg", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-05-07T13:57:46Z/" } ], "url": "https://www.youtube.com/watch?v=x-u3eS8-xJg" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-44019", "reference_id": "CVE-2022-44019", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-44019" }, { "reference_url": "https://www.edoardoottavianelli.it/CVE-2022-44019/", "reference_id": "CVE-2022-44019", "reference_type": "", "scores": [ { "value": "8.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" }, { "value": "Track*", "scoring_system": "ssvc", "scoring_elements": "SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2025-05-07T13:57:46Z/" } ], "url": "https://www.edoardoottavianelli.it/CVE-2022-44019/" } ], "fixed_packages": [], "aliases": [ "CVE-2022-44019" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "7.9", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2pdw-fzpu-8yht" } ], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41205?format=api", "vulnerability_id": "VCID-ch36-st1p-2khy", "summary": "Code Injection\nThe package total.js are vulnerable to Arbitrary Code Execution via the U.set() and U.get() functions.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-23389", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.0534", "scoring_system": "epss", "scoring_elements": "0.90244", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.0534", "scoring_system": "epss", "scoring_elements": "0.90243", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.0534", "scoring_system": "epss", "scoring_elements": "0.9023", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.0534", "scoring_system": "epss", "scoring_elements": "0.90246", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-23389" }, { "reference_url": "https://github.com/totaljs/framework/blob/master/utils.js%23L6606-L6631", "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/totaljs/framework/blob/master/utils.js%23L6606-L6631" }, { "reference_url": "https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3", "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/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3" }, { "reference_url": "https://snyk.io/vuln/SNYK-JS-TOTALJS-1088607", "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://snyk.io/vuln/SNYK-JS-TOTALJS-1088607" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23389", "reference_id": "CVE-2021-23389", "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-2021-23389" }, { "reference_url": "https://github.com/advisories/GHSA-7fm6-gxqg-2pwr", "reference_id": "GHSA-7fm6-gxqg-2pwr", "reference_type": "", "scores": [ { "value": "CRITICAL", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-7fm6-gxqg-2pwr" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/58382?format=api", "purl": "pkg:npm/total.js@3.4.9", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-2pdw-fzpu-8yht" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/total.js@3.4.9" } ], "aliases": [ "CVE-2021-23389", "GHSA-7fm6-gxqg-2pwr" ], "risk_score": 4.5, "exploitability": "0.5", "weighted_severity": "9.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ch36-st1p-2khy" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41386?format=api", "vulnerability_id": "VCID-vfmh-kcfd-5fcm", "summary": "Code Injection\nTotal.js framework (npm package total.js) is a framework for Node.js platfrom written in pure JavaScript similar to PHP's Laravel or Python's Django or ASP.NET MVC. In total.js framework, calling the utils.set function with user-controlled values leads to code-injection. This can cause a variety of impacts that include arbitrary code execution. This is fixed", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32831", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00871", "scoring_system": "epss", "scoring_elements": "0.75556", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.00871", "scoring_system": "epss", "scoring_elements": "0.75578", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.00871", "scoring_system": "epss", "scoring_elements": "0.75587", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.00871", "scoring_system": "epss", "scoring_elements": "0.75584", "published_at": "2026-06-05T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32831" }, { "reference_url": "https://github.com/totaljs", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/totaljs" }, { "reference_url": "https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/totaljs/framework/blob/e644167d5378afdc45cb0156190349b2c07ef235/changes.txt#L11" }, { "reference_url": "https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/totaljs/framework/commit/887b0fa9e162ef7a2dd9cec20a5ca122726373b3" }, { "reference_url": "https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs" }, { "reference_url": "https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://securitylab.github.com/advisories/GHSL-2021-066-totaljs-totaljs/" }, { "reference_url": "https://www.npmjs.com/package/total.js", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/package/total.js" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32831", "reference_id": "CVE-2021-32831", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32831" }, { "reference_url": "https://github.com/advisories/GHSA-vwhc-pww7-72x6", "reference_id": "GHSA-vwhc-pww7-72x6", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-vwhc-pww7-72x6" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/58382?format=api", "purl": "pkg:npm/total.js@3.4.9", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-2pdw-fzpu-8yht" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/total.js@3.4.9" } ], "aliases": [ "CVE-2021-32831", "GHSA-vwhc-pww7-72x6" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vfmh-kcfd-5fcm" } ], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/total.js@3.4.9" }