Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46394?format=api",
    "vulnerability_id": "VCID-37ff-v99s-nkhk",
    "summary": "Bypassing Cross-Site Scripting Protection in TYPO3 HTML Sanitizer\nTYPO3 is an open source PHP based web content management system released under the GNU GPL. In affected versions DOM processing instructions are not handled correctly. This allows bypassing the cross-site scripting mechanism of typo3/html-sanitizer. This vulnerability has been addressed in versions 1.5.3 and 2.1.4. Users are advised to upgrade. There are no known workarounds for this vulnerability.",
    "aliases": [
        {
            "alias": "CVE-2023-47125"
        },
        {
            "alias": "GHSA-mm79-jhqm-9j54"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67741?format=api",
            "purl": "pkg:composer/typo3/html-sanitizer@1.5.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/html-sanitizer@1.5.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/67742?format=api",
            "purl": "pkg:composer/typo3/html-sanitizer@2.1.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/html-sanitizer@2.1.4"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66271?format=api",
            "purl": "pkg:composer/typo3/html-sanitizer@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-37ff-v99s-nkhk"
                },
                {
                    "vulnerability": "VCID-juyu-1u97-ffg8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/html-sanitizer@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66272?format=api",
            "purl": "pkg:composer/typo3/html-sanitizer@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-37ff-v99s-nkhk"
                },
                {
                    "vulnerability": "VCID-juyu-1u97-ffg8"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/html-sanitizer@2.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/TYPO3/html-sanitizer/commit/b8f90717251d968c49dc77f8c1e5912e2fbe0dff",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/TYPO3/html-sanitizer/commit/b8f90717251d968c49dc77f8c1e5912e2fbe0dff"
        },
        {
            "reference_url": "https://typo3.org/security/advisory/typo3-core-sa-2023-007",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://typo3.org/security/advisory/typo3-core-sa-2023-007"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47125",
            "reference_id": "CVE-2023-47125",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47125"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-mm79-jhqm-9j54",
            "reference_id": "GHSA-mm79-jhqm-9j54",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-mm79-jhqm-9j54"
        },
        {
            "reference_url": "https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-mm79-jhqm-9j54",
            "reference_id": "GHSA-mm79-jhqm-9j54",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-mm79-jhqm-9j54"
        }
    ],
    "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-37ff-v99s-nkhk"
}