CVE-2020-26293
Last modified
CVE-2020-26293 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 1.00% chance of exploitation in the next 30 days.
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.
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 |
|---|---|---|
| Htmlsanitizer Project | Htmlsanitizer | < 5.0.372 |
References
- https://github.com/mganss/HtmlSanitizer/commit/a3a7602a44d4155d51ec0fbbedc2a49e9c7e2eb8Patch, Third Party Advisory
- https://github.com/mganss/HtmlSanitizer/releases/tag/v5.0.372Release Notes, Third Party Advisory
- https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-8j9v-h2vp-2hhvThird Party Advisory
- https://www.nuget.org/packages/HtmlSanitizer/Product, Third Party Advisory
- https://github.com/mganss/HtmlSanitizer/commit/a3a7602a44d4155d51ec0fbbedc2a49e9c7e2eb8Patch, Third Party Advisory
- https://github.com/mganss/HtmlSanitizer/releases/tag/v5.0.372Release Notes, Third Party Advisory
- https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-8j9v-h2vp-2hhvThird Party Advisory
- https://www.nuget.org/packages/HtmlSanitizer/Product, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-26293?
How severe is CVE-2020-26293?
How do I fix CVE-2020-26293?
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 2020
- CVE-2020-26288Parse Server is an open source backend that can be deployed …6.5
- CVE-2020-26289date-and-time is an npm package for manipulating date and ti…7.5
- CVE-2020-2629Vulnerability in the Enterprise Manager Base Platform produc…6
- CVE-2020-26290Dex is a federated OpenID Connect provider written in Go. In…9.6
- CVE-2020-26291URI.js is a javascript URL mutation library (npm package uri…6.5
- CVE-2020-26292Creeper is an experimental dynamic, interpreted language. Th…9.8
- CVE-2020-26294Vela is a Pipeline Automation (CI/CD) framework built on Lin…5.3
- CVE-2020-26295OpenMage is a community-driven alternative to Magento CE. In…7.2
- CVE-2020-26296Vega is a visualization grammar, a declarative format for cr…8.7
- CVE-2020-26297mdBook is a utility to create modern online books from Markd…6.1
- CVE-2020-26298Redcarpet is a Ruby library for Markdown processing. In Redc…5.4
- CVE-2020-26299ftp-srv is an open-source FTP server designed to be simple y…9.6
Are you affected by CVE-2020-26293?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
