Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/213085?format=api",
    "vulnerability_id": "VCID-jmhr-atwp-5kee",
    "summary": "WordPress is an open publishing platform for the Web. Unserialization of instances of the `WP_HTML_Token` class allows for code execution via its `__destruct()` magic method. This issue was fixed in WordPress 6.4.2 on December 6th, 2023. Versions prior to 6.4.0 are not affected.",
    "aliases": [
        {
            "alias": "CVE-2024-31211"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/942936?format=api",
            "purl": "pkg:deb/debian/wordpress@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@0%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/943040?format=api",
            "purl": "pkg:deb/debian/wordpress@6.4.2%2Bdfsg1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@6.4.2%252Bdfsg1-1%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"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-31211",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.39711",
                    "scoring_system": "epss",
                    "scoring_elements": "0.97322",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.39711",
                    "scoring_system": "epss",
                    "scoring_elements": "0.97313",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.39711",
                    "scoring_system": "epss",
                    "scoring_elements": "0.97314",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.39711",
                    "scoring_system": "epss",
                    "scoring_elements": "0.97298",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.39711",
                    "scoring_system": "epss",
                    "scoring_elements": "0.97303",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.39711",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9731",
                    "published_at": "2026-04-09T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-31211"
        },
        {
            "reference_url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653",
            "reference_id": "GHSA-m257-q4m5-j653",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-04-05T14:00:20Z/"
                }
            ],
            "url": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m257-q4m5-j653"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 502,
            "name": "Deserialization of Untrusted Data",
            "description": "The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.5 - 5.5",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jmhr-atwp-5kee"
}