Overview
- Description
- The typo3/html-sanitizer package is an HTML sanitizer, written in PHP, aiming to provide XSS-safe markup based on explicitly allowed tags, attributes and values. Due to a parsing issue in the upstream package `masterminds/html5`, malicious markup used in a sequence with special HTML comments cannot be filtered and sanitized. This allows for a bypass of the cross-site scripting mechanism of `typo3/html-sanitizer`. This issue has been addressed in versions 1.0.7 and 2.0.16 of the `typo3/html-sanitizer` package. Users are advised to upgrade. There are no known workarounds for this issue.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 6.1
- Impact score
- 2.7
- Exploitability score
- 2.8
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Severity
- MEDIUM
Weaknesses
- security-advisories@github.com
- CWE-79
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:typo3:html_sanitizer:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "18546B22-C9E8-4ED2-BA5D-0E49560F74FF", "versionEndExcluding": "1.0.7", "versionStartIncluding": "1.0.0" }, { "criteria": "cpe:2.3:a:typo3:html_sanitizer:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "3D409E3E-7553-4BB9-9984-08CED758D516", "versionEndExcluding": "2.0.16", "versionStartIncluding": "2.0.0" } ], "operator": "OR" } ] } ]