Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54579?format=api",
    "vulnerability_id": "VCID-mtv1-mfmx-2kdg",
    "summary": "Cross-site Scripting\nFlarum is vulnerable to XSS.",
    "aliases": [
        {
            "alias": "CVE-2021-32671"
        },
        {
            "alias": "GHSA-5qjq-69w6-fg57"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80962?format=api",
            "purl": "pkg:composer/flarum/core@1.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9k8r-76x9-qucw"
                },
                {
                    "vulnerability": "VCID-akuy-drq1-hkap"
                },
                {
                    "vulnerability": "VCID-en38-mx5t-vbb9"
                },
                {
                    "vulnerability": "VCID-jnjt-mna6-2qhe"
                },
                {
                    "vulnerability": "VCID-rv1d-9z9z-xuh2"
                },
                {
                    "vulnerability": "VCID-vthb-u9cs-ckak"
                },
                {
                    "vulnerability": "VCID-yapt-ka6b-f3ba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@1.0.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80960?format=api",
            "purl": "pkg:composer/flarum/core@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9k8r-76x9-qucw"
                },
                {
                    "vulnerability": "VCID-akuy-drq1-hkap"
                },
                {
                    "vulnerability": "VCID-en38-mx5t-vbb9"
                },
                {
                    "vulnerability": "VCID-jnjt-mna6-2qhe"
                },
                {
                    "vulnerability": "VCID-mtv1-mfmx-2kdg"
                },
                {
                    "vulnerability": "VCID-rv1d-9z9z-xuh2"
                },
                {
                    "vulnerability": "VCID-vthb-u9cs-ckak"
                },
                {
                    "vulnerability": "VCID-yapt-ka6b-f3ba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80961?format=api",
            "purl": "pkg:composer/flarum/core@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9k8r-76x9-qucw"
                },
                {
                    "vulnerability": "VCID-akuy-drq1-hkap"
                },
                {
                    "vulnerability": "VCID-en38-mx5t-vbb9"
                },
                {
                    "vulnerability": "VCID-jnjt-mna6-2qhe"
                },
                {
                    "vulnerability": "VCID-mtv1-mfmx-2kdg"
                },
                {
                    "vulnerability": "VCID-rv1d-9z9z-xuh2"
                },
                {
                    "vulnerability": "VCID-vthb-u9cs-ckak"
                },
                {
                    "vulnerability": "VCID-yapt-ka6b-f3ba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/flarum/core@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80964?format=api",
            "purl": "pkg:composer/flarum/flarum@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9k8r-76x9-qucw"
                },
                {
                    "vulnerability": "VCID-en38-mx5t-vbb9"
                },
                {
                    "vulnerability": "VCID-mtv1-mfmx-2kdg"
                },
                {
                    "vulnerability": "VCID-rv1d-9z9z-xuh2"
                },
                {
                    "vulnerability": "VCID-yapt-ka6b-f3ba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/flarum/flarum@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80965?format=api",
            "purl": "pkg:composer/flarum/flarum@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-mtv1-mfmx-2kdg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/flarum/flarum@1.0.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32671",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00758",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73698",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.00758",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73695",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.00758",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73658",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32671"
        },
        {
            "reference_url": "https://github.com/flarum/core/commit/440bed81b8019dff00642c8f493b4909d505a28a",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/flarum/core/commit/440bed81b8019dff00642c8f493b4909d505a28a"
        },
        {
            "reference_url": "https://github.com/flarum/core/security/advisories/GHSA-5qjq-69w6-fg57",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/flarum/core/security/advisories/GHSA-5qjq-69w6-fg57"
        },
        {
            "reference_url": "https://packagist.org/packages/flarum/core",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://packagist.org/packages/flarum/core"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32671",
            "reference_id": "CVE-2021-32671",
            "reference_type": "",
            "scores": [
                {
                    "value": "10.0",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32671"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mtv1-mfmx-2kdg"
}