Lookup for vulnerable packages by Package URL.

GET /api/packages/248249?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/248249?format=api",
    "purl": "pkg:npm/auth0-lock@7.14.0",
    "type": "npm",
    "namespace": "",
    "name": "auth0-lock",
    "version": "7.14.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "11.26.0",
    "latest_non_vulnerable_version": "11.33.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52902?format=api",
            "vulnerability_id": "VCID-2r6q-ehzz-6yb4",
            "summary": "Cross-site Scripting\nIn auth0-lock `dangerouslySetInnerHTML` is used to update the DOM. When `dangerouslySetInnerHTML` is used, the application and its users might be exposed to cross-site scripting (XSS) attacks.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-15119",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00282",
                            "scoring_system": "epss",
                            "scoring_elements": "0.51865",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-15119"
                },
                {
                    "reference_url": "https://github.com/auth0/lock/commit/3711fb5b42afd40073a61a58759251f51e768b1b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/auth0/lock/commit/3711fb5b42afd40073a61a58759251f51e768b1b"
                },
                {
                    "reference_url": "https://github.com/auth0/lock/security/advisories/GHSA-6gg3-pmm7-97xc",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/auth0/lock/security/advisories/GHSA-6gg3-pmm7-97xc"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15119",
                    "reference_id": "CVE-2020-15119",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15119"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/77885?format=api",
                    "purl": "pkg:npm/auth0-lock@11.26.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/auth0-lock@11.26.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/140312?format=api",
                    "purl": "pkg:npm/auth0-lock@11.26.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/auth0-lock@11.26.3"
                }
            ],
            "aliases": [
                "CVE-2020-15119",
                "GHSA-6gg3-pmm7-97xc"
            ],
            "risk_score": 2.9,
            "exploitability": "0.5",
            "weighted_severity": "5.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2r6q-ehzz-6yb4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52216?format=api",
            "vulnerability_id": "VCID-k3m2-21vz-x7cw",
            "summary": "Cross-site Scripting\nAuth0 Lock allows XSS when `additionalSignUpFields` is used with an untrusted placeholder.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-20174",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00386",
                            "scoring_system": "epss",
                            "scoring_elements": "0.60081",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-20174"
                },
                {
                    "reference_url": "https://github.com/auth0/lock/commit/6c15e5659c21cd814ea119af5c51b61399598dd5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/auth0/lock/commit/6c15e5659c21cd814ea119af5c51b61399598dd5"
                },
                {
                    "reference_url": "https://github.com/auth0/lock/releases/tag/v11.21.0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/auth0/lock/releases/tag/v11.21.0"
                },
                {
                    "reference_url": "https://github.com/auth0/lock/security/advisories/GHSA-w2pf-g6r8-pg22",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/auth0/lock/security/advisories/GHSA-w2pf-g6r8-pg22"
                },
                {
                    "reference_url": "https://auth0.com/docs/security/bulletins/cve-2019-20174",
                    "reference_id": "CVE-2019-20174",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://auth0.com/docs/security/bulletins/cve-2019-20174"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-20174",
                    "reference_id": "CVE-2019-20174",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-20174"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/76610?format=api",
                    "purl": "pkg:npm/auth0-lock@11.21.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2r6q-ehzz-6yb4"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/auth0-lock@11.21.0"
                }
            ],
            "aliases": [
                "CVE-2019-20174",
                "GHSA-w2pf-g6r8-pg22"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k3m2-21vz-x7cw"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/auth0-lock@7.14.0"
}