Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11305?format=api",
    "vulnerability_id": "VCID-1twr-du4b-h7h6",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nCross-site scripting (XSS) vulnerability in getID3 and allows remote attackers to inject arbitrary web script or HTML via the showtagfiles parameter.",
    "aliases": [
        {
            "alias": "CVE-2021-40926"
        },
        {
            "alias": "GHSA-x2gw-85w6-fjjw"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73686?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.21",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.21"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934894?format=api",
            "purl": "pkg:deb/debian/php-getid3@1.9.21%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-getid3@1.9.21%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934889?format=api",
            "purl": "pkg:deb/debian/php-getid3@1.9.22%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-getid3@1.9.22%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1056476?format=api",
            "purl": "pkg:deb/debian/php-getid3@1.9.22%2Bdfsg-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-getid3@1.9.22%252Bdfsg-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934893?format=api",
            "purl": "pkg:deb/debian/php-getid3@1.9.23%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-getid3@1.9.23%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934892?format=api",
            "purl": "pkg:deb/debian/php-getid3@1.9.25%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-getid3@1.9.25%252Bdfsg-1%3Fdistro=trixie"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/581127?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/40355?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263308?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                },
                {
                    "vulnerability": "VCID-95zd-g97m-ekh3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82115?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263309?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263310?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263311?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.12",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.12"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263312?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.13",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.13"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263313?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.14",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.14"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263314?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.15",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.15"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263315?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.16",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.16"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263316?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.17",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.17"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263317?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.18",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.18"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263318?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.19",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.19"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263319?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.20",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.20"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73686?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@1.9.21",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@1.9.21"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263320?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@2.0.0-beta1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@2.0.0-beta1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263321?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@2.0.0-beta2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@2.0.0-beta2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/263322?format=api",
            "purl": "pkg:composer/james-heinrich/getid3@2.0.0-beta3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/james-heinrich/getid3@2.0.0-beta3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934891?format=api",
            "purl": "pkg:deb/debian/php-getid3@1.9.20%2Bdfsg-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-getid3@1.9.20%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1056475?format=api",
            "purl": "pkg:deb/debian/php-getid3@1.9.20%2Bdfsg-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1twr-du4b-h7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-getid3@1.9.20%252Bdfsg-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-40926",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5171",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51788",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51807",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.518",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51759",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51776",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51797",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51747",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51751",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51696",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5166",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00284",
                    "scoring_system": "epss",
                    "scoring_elements": "0.51736",
                    "published_at": "2026-04-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-40926"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40926",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40926"
        },
        {
            "reference_url": "https://github.com/JamesHeinrich/getID3",
            "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/JamesHeinrich/getID3"
        },
        {
            "reference_url": "https://github.com/JamesHeinrich/getID3/issues/341",
            "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/JamesHeinrich/getID3/issues/341"
        },
        {
            "reference_url": "https://github.com/JamesHeinrich/getID3/pull/342",
            "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/JamesHeinrich/getID3/pull/342"
        },
        {
            "reference_url": "https://github.com/JamesHeinrich/getID3/releases/tag/v1.9.21",
            "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/JamesHeinrich/getID3/releases/tag/v1.9.21"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-40926",
            "reference_id": "CVE-2021-40926",
            "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-2021-40926"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-x2gw-85w6-fjjw",
            "reference_id": "GHSA-x2gw-85w6-fjjw",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-x2gw-85w6-fjjw"
        }
    ],
    "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": 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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1twr-du4b-h7h6"
}