CVE-2020-26293
Summary
| CVE | CVE-2020-26293 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-01-04 19:15:00 UTC |
| Updated | 2021-01-07 20:29:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Htmlsanitizer Project | Htmlsanitizer | All | All | All | All |
| Application | Htmlsanitizer Project | Htmlsanitizer | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Release 5.0.372 · mganss/HtmlSanitizer · GitHub | MISC | github.com | Release Notes, Third Party Advisory |
| Possible XSS bypass if style tag is allowed · Advisory · mganss/HtmlSanitizer · GitHub | CONFIRM | github.com | Third Party Advisory |
| NuGet Gallery | HtmlSanitizer 2.0.5449.20550 | MISC | www.nuget.org | Product, Third Party Advisory |
| Fix hex escape issue in style element · mganss/HtmlSanitizer@a3a7602 · GitHub | MISC | github.com | Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.