CVE-2022-23499
Last modified
CVE-2022-23499 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. HTML sanitizer is written in PHP, aiming to provide XSS-safe markup based on explicitly allowed tags, attributes and values. In versions prior to 1.5.0 or 2.1.1, malicious markup used in a sequence with special HTML CDATA sections cannot be filtered and sanitized due to a parsing issue in the upstream package masterminds/html5. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
Description
HTML sanitizer is written in PHP, aiming to provide XSS-safe markup based on explicitly allowed tags, attributes and values. In versions prior to 1.5.0 or 2.1.1, malicious markup used in a sequence with special HTML CDATA sections cannot be filtered and sanitized due to a parsing issue in the upstream package masterminds/html5. This allows bypassing the cross-site scripting mechanism of typo3/html-sanitizer. The upstream package masterminds/html5 provides HTML raw text elements (`script`, `style`, `noframes`, `noembed` and `iframe`) as DOMText nodes, which were not processed and sanitized further. None of the mentioned elements were defined in the default builder configuration, that's why only custom behaviors, using one of those tag names, were vulnerable to cross-site scripting. This issue has been fixed in versions 1.5.0 and 2.1.1.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Typo3 | Html Sanitizer | >= 1.0.0, <= 1.0.7 |
| Typo3 | Html Sanitizer | >= 2.0.0, < 2.1.1 |
References
- https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-hvwx-qh2h-xcfjThird Party Advisory
- https://github.com/TYPO3/html-sanitizer/security/advisories/GHSA-hvwx-qh2h-xcfjThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-23499?
How severe is CVE-2022-23499?
How do I fix CVE-2022-23499?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-23493xrdp is an open source project which provides a graphical lo…9.1
- CVE-2022-23494tinymce is an open source rich text editor. A cross-site scr…6.1
- CVE-2022-23495go-merkledag implements the 'DAGService' interface and adds …7.5
- CVE-2022-23496 Yet Another UserAgent Analyzer (Yauaa) is a java library th…7.5
- CVE-2022-23497FreshRSS is a free, self-hostable RSS aggregator. User confi…7.5
- CVE-2022-23498Grafana is an open-source platform for monitoring and observ…8.8
- CVE-2022-2350The Disable User Login WordPress plugin through 1.0.1 does n…5.3
- CVE-2022-23500TYPO3 is an open source PHP based web content management sys…7.5
- CVE-2022-23501TYPO3 is an open source PHP based web content management sys…6.5
- CVE-2022-23502TYPO3 is an open source PHP based web content management sys…5.4
- CVE-2022-23503TYPO3 is an open source PHP based web content management sys…8.8
- CVE-2022-23504TYPO3 is an open source PHP based web content management sys…4.9
Are you affected by CVE-2022-23499?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
