Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/943021?format=api",
    "purl": "pkg:deb/debian/wordpress@5.1.1%2Bdfsg1-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "wordpress",
    "version": "5.1.1+dfsg1-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.2.3+dfsg1-1",
    "latest_non_vulnerable_version": "6.9.4+dfsg1-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/94308?format=api",
            "vulnerability_id": "VCID-8mat-2mjd-7fgm",
            "summary": "WordPress before 5.1.1 does not properly filter comment content, leading to Remote Code Execution by unauthenticated users in a default configuration. This occurs because CSRF protection is mishandled, and because Search Engine Optimization of A elements is performed incorrectly, leading to XSS. The XSS results in administrative access, which allows arbitrary changes to .php files. This is related to wp-admin/includes/ajax-actions.php and wp-includes/comment.php.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-9787",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.81017",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99157",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.81017",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99155",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.81017",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99146",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.81017",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99147",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.81017",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9915",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.81017",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99153",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.81017",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99154",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-9787"
                },
                {
                    "reference_url": "https://blog.ripstech.com/2019/wordpress-csrf-to-rce/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://blog.ripstech.com/2019/wordpress-csrf-to-rce/"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9787",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-9787"
                },
                {
                    "reference_url": "https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/WordPress/WordPress/commit/0292de60ec78c5a44956765189403654fe4d080b"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00044.html"
                },
                {
                    "reference_url": "https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://wordpress.org/news/2019/03/wordpress-5-1-1-security-and-maintenance-release/"
                },
                {
                    "reference_url": "https://wordpress.org/support/wordpress-version/version-5-1-1/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://wordpress.org/support/wordpress-version/version-5-1-1/"
                },
                {
                    "reference_url": "https://wpvulndb.com/vulnerabilities/9230",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://wpvulndb.com/vulnerabilities/9230"
                },
                {
                    "reference_url": "https://www.debian.org/security/2020/dsa-4677",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.debian.org/security/2020/dsa-4677"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/107411",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/107411"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924546",
                    "reference_id": "924546",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924546"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-9787",
                    "reference_id": "CVE-2019-9787",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                        },
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-9787"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/943021?format=api",
                    "purl": "pkg:deb/debian/wordpress@5.1.1%2Bdfsg1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@5.1.1%252Bdfsg1-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/942927?format=api",
                    "purl": "pkg:deb/debian/wordpress@5.7.11%2Bdfsg1-0%2Bdeb11u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-gyaq-8pvh-p7gg"
                        },
                        {
                            "vulnerability": "VCID-jghn-eujf-zbdn"
                        },
                        {
                            "vulnerability": "VCID-yqam-kpce-dfg7"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@5.7.11%252Bdfsg1-0%252Bdeb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/942925?format=api",
                    "purl": "pkg:deb/debian/wordpress@6.1.9%2Bdfsg1-0%2Bdeb12u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-gyaq-8pvh-p7gg"
                        },
                        {
                            "vulnerability": "VCID-jghn-eujf-zbdn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@6.1.9%252Bdfsg1-0%252Bdeb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/942929?format=api",
                    "purl": "pkg:deb/debian/wordpress@6.8.3%2Bdfsg1-0%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@6.8.3%252Bdfsg1-0%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/942928?format=api",
                    "purl": "pkg:deb/debian/wordpress@6.9.4%2Bdfsg1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@6.9.4%252Bdfsg1-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2019-9787"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "7.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8mat-2mjd-7fgm"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@5.1.1%252Bdfsg1-1%3Fdistro=trixie"
}