Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/57266?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/57266?format=api", "purl": "pkg:npm/react@16.4.2", "type": "npm", "namespace": "", "name": "react", "version": "16.4.2", "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/40566?format=api", "vulnerability_id": "VCID-xma8-6nzt-dfhz", "summary": "Cross-site Scripting\nReact applications which rendered to HTML using the `ReactDOMServer` API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability.", "references": [ { "reference_url": "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html" }, { "reference_url": "https://snyk.io/vuln/npm:react-dom:20180802", "reference_id": "", "reference_type": "", "scores": [], "url": "https://snyk.io/vuln/npm:react-dom:20180802" }, { "reference_url": "https://twitter.com/reactjs/status/1024745321987887104", "reference_id": "", "reference_type": "", "scores": [], "url": "https://twitter.com/reactjs/status/1024745321987887104" }, { "reference_url": "https://www.npmjs.com/advisories/1421", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.npmjs.com/advisories/1421" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6341", "reference_id": "CVE-2018-6341", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6341" }, { "reference_url": "https://github.com/advisories/GHSA-mvjj-gqq2-p4hw", "reference_id": "GHSA-mvjj-gqq2-p4hw", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-mvjj-gqq2-p4hw" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/57266?format=api", "purl": "pkg:npm/react@16.4.2", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react@16.4.2" } ], "aliases": [ "CVE-2018-6341", "GHSA-mvjj-gqq2-p4hw" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xma8-6nzt-dfhz" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react@16.4.2" }