Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/59103?format=api",
    "purl": "pkg:composer/typo3/html-sanitizer@1.5.1",
    "type": "composer",
    "namespace": "typo3",
    "name": "html-sanitizer",
    "version": "1.5.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.5.3",
    "latest_non_vulnerable_version": "2.1.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/19802?format=api",
            "vulnerability_id": "VCID-jm95-52f4-mqfe",
            "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.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-47125",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65276",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65308",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65325",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65315",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65309",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65321",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6525",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65303",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65291",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65241",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00484",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65281",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-47125"
                },
                {
                    "reference_url": "https://github.com/TYPO3/html-sanitizer",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/TYPO3/html-sanitizer"
                },
                {
                    "reference_url": "https://github.com/TYPO3/html-sanitizer/commit/b8f90717251d968c49dc77f8c1e5912e2fbe0dff",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-08-29T20:25:20Z/"
                        }
                    ],
                    "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": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-08-29T20:25:20Z/"
                        }
                    ],
                    "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": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/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-2023-47125"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mm79-jhqm-9j54",
                    "reference_id": "GHSA-mm79-jhqm-9j54",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "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": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-08-29T20:25:20Z/"
                        }
                    ],
                    "url": "https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-mm79-jhqm-9j54"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61111?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/61113?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"
                }
            ],
            "aliases": [
                "CVE-2023-47125",
                "GHSA-mm79-jhqm-9j54"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jm95-52f4-mqfe"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/18488?format=api",
            "vulnerability_id": "VCID-ntv8-t4pv-hfa6",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nTYPO3 HTML Sanitizer is an HTML sanitizer, written in PHP, aiming to provide cross-site-scripting-safe markup based on explicitly allowed tags, attributes and values. Starting in version 1.0.0 and prior to versions 1.5.1 and 2.1.2, due to an encoding issue in the serialization layer, malicious markup nested in a `noscript` element was not encoded correctly. `noscript` is disabled in the default configuration, but might have been enabled in custom scenarios. This allows bypassing the cross-site scripting mechanism of TYPO3 HTML Sanitizer. Versions 1.5.1 and 2.1.2 fix the problem.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2023-38500",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00341",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56802",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00341",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56798",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00341",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56822",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00341",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56848",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00341",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56851",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00341",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5682",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00341",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56842",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00341",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56862",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00341",
                            "scoring_system": "epss",
                            "scoring_elements": "0.56854",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00341",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5685",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00374",
                            "scoring_system": "epss",
                            "scoring_elements": "0.59096",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2023-38500"
                },
                {
                    "reference_url": "https://github.com/TYPO3/html-sanitizer",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/TYPO3/html-sanitizer"
                },
                {
                    "reference_url": "https://github.com/TYPO3/html-sanitizer/commit/e3026f589fef0be8c3574ee3f0a0bfbe33d7ebdb",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-10T16:24:38Z/"
                        }
                    ],
                    "url": "https://github.com/TYPO3/html-sanitizer/commit/e3026f589fef0be8c3574ee3f0a0bfbe33d7ebdb"
                },
                {
                    "reference_url": "https://typo3.org/security/advisory/typo3-core-sa-2023-002",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-10T16:24:38Z/"
                        }
                    ],
                    "url": "https://typo3.org/security/advisory/typo3-core-sa-2023-002"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-38500",
                    "reference_id": "CVE-2023-38500",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/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-2023-38500"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-59jf-3q9v-rh6g",
                    "reference_id": "GHSA-59jf-3q9v-rh6g",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-59jf-3q9v-rh6g"
                },
                {
                    "reference_url": "https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-59jf-3q9v-rh6g",
                    "reference_id": "GHSA-59jf-3q9v-rh6g",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-10T16:24:38Z/"
                        }
                    ],
                    "url": "https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-59jf-3q9v-rh6g"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59103?format=api",
                    "purl": "pkg:composer/typo3/html-sanitizer@1.5.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-jm95-52f4-mqfe"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/html-sanitizer@1.5.1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59104?format=api",
                    "purl": "pkg:composer/typo3/html-sanitizer@2.1.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-jm95-52f4-mqfe"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/html-sanitizer@2.1.2"
                }
            ],
            "aliases": [
                "CVE-2023-38500",
                "GHSA-59jf-3q9v-rh6g"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ntv8-t4pv-hfa6"
        }
    ],
    "risk_score": "3.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/typo3/html-sanitizer@1.5.1"
}