Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50826?format=api",
    "vulnerability_id": "VCID-a84m-cax5-bycg",
    "summary": "copyparty: volflag `nohtml` did not block javascript in svg files\nThe `nohtml` config option, intended to prevent execution of JavaScript in user-uploaded HTML files, did not apply to SVG images.",
    "aliases": [
        {
            "alias": "CVE-2026-30974"
        },
        {
            "alias": "GHSA-m6hv-x64c-27mm"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48730?format=api",
            "purl": "pkg:pypi/copyparty@1.20.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-pj9d-9b4n-4fcv"
                },
                {
                    "vulnerability": "VCID-pm6c-tvfy-s3fn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/copyparty@1.20.11"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://github.com/9001/copyparty",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/9001/copyparty"
        },
        {
            "reference_url": "https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/9001/copyparty/commit/1c9f894e149b6be3cc7de81efc93a4ce4766e0e5"
        },
        {
            "reference_url": "https://github.com/9001/copyparty/releases/tag/v1.20.11",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/9001/copyparty/releases/tag/v1.20.11"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30974",
            "reference_id": "CVE-2026-30974",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30974"
        },
        {
            "reference_url": "https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm",
            "reference_id": "GHSA-m6hv-x64c-27mm",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/9001/copyparty/security/advisories/GHSA-m6hv-x64c-27mm"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-m6hv-x64c-27mm",
            "reference_id": "GHSA-m6hv-x64c-27mm",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-m6hv-x64c-27mm"
        }
    ],
    "weaknesses": [
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a84m-cax5-bycg"
}