Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/529543?format=api",
    "purl": "pkg:npm/gatsby-source-wordpress@3.0.0-beta.6",
    "type": "npm",
    "namespace": "",
    "name": "gatsby-source-wordpress",
    "version": "3.0.0-beta.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.0.8",
    "latest_non_vulnerable_version": "5.9.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41222?format=api",
            "vulnerability_id": "VCID-qyw7-a7m4-x7bs",
            "summary": "Insufficiently Protected Credentials\nGatsby is a framework for building websites. The gatsby-source-wordpress plugin leaks `.htaccess` HTTP Basic Authentication variables into the `app.js` bundle during build-time. Users who are not initializing basic authentication credentials in the `gatsby-config.js` are not affected.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32770",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.47031",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.00238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.4701",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.47075",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.47078",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00238",
                            "scoring_system": "epss",
                            "scoring_elements": "0.4706",
                            "published_at": "2026-06-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32770"
                },
                {
                    "reference_url": "https://github.com/gatsbyjs/gatsby/security/advisories/GHSA-rqjw-p5vr-c695",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/gatsbyjs/gatsby/security/advisories/GHSA-rqjw-p5vr-c695"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32770",
                    "reference_id": "CVE-2021-32770",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32770"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rqjw-p5vr-c695",
                    "reference_id": "GHSA-rqjw-p5vr-c695",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-rqjw-p5vr-c695"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58435?format=api",
                    "purl": "pkg:npm/gatsby-source-wordpress@4.0.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/gatsby-source-wordpress@4.0.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58436?format=api",
                    "purl": "pkg:npm/gatsby-source-wordpress@5.9.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/gatsby-source-wordpress@5.9.2"
                }
            ],
            "aliases": [
                "CVE-2021-32770",
                "GHSA-rqjw-p5vr-c695"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qyw7-a7m4-x7bs"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/gatsby-source-wordpress@3.0.0-beta.6"
}