Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41623?format=api",
    "vulnerability_id": "VCID-1eut-y5qx-dkhu",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tinymce.",
    "aliases": [
        {
            "alias": "GHSA-5h9g-x5rv-25wg"
        },
        {
            "alias": "GMS-2021-132"
        },
        {
            "alias": "GMS-2021-163"
        },
        {
            "alias": "GMS-2021-189"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59371?format=api",
            "purl": "pkg:composer/tinymce/tinymce@5.9.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/tinymce/tinymce@5.9.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59369?format=api",
            "purl": "pkg:npm/tinymce@5.9.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/tinymce@5.9.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59370?format=api",
            "purl": "pkg:nuget/TinyMCE@5.9.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/TinyMCE@5.9.0"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://www.tiny.cloud/docs/release-notes/release-notes59/#securityfixes",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.tiny.cloud/docs/release-notes/release-notes59/#securityfixes"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-5h9g-x5rv-25wg",
            "reference_id": "GHSA-5h9g-x5rv-25wg",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-5h9g-x5rv-25wg"
        },
        {
            "reference_url": "https://github.com/tinymce/tinymce/security/advisories/GHSA-5h9g-x5rv-25wg",
            "reference_id": "GHSA-5h9g-x5rv-25wg",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/tinymce/tinymce/security/advisories/GHSA-5h9g-x5rv-25wg"
        }
    ],
    "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1eut-y5qx-dkhu"
}