HtmlSanitizer is a .NET library for cleaning HTML fragments and documents from constructs that can lead to XSS attacks. In HtmlSanitizer before version 5.0.372, there is a possible XSS bypass if style tag is allowed. If you have explicitly allowed the `<style>` tag, an attacker could craft HTML that includes script after passing through the sanitizer. The default settings disallow the `<style>` tag so there is no risk if you have not explicitly allowed the `<style>` tag. The problem has been fixed in version 5.0.372.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2021-01-04T18:20:14
Updated: 2024-08-04T15:56:03.977Z
Reserved: 2020-10-01T00:00:00
Link: CVE-2020-26293
Vulnrichment
No data.
NVD
Status : Modified
Published: 2021-01-04T19:15:14.970
Modified: 2024-11-21T05:19:47.020
Link: CVE-2020-26293
Redhat
No data.