Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2020-26293

6.1 · MEDIUM
Published Jan 4, 2021 htmlsanitizer_project CWE-74 EPSS 1.00% (60th pctl)

Overview

CVE-2020-26293 is a medium-severity vulnerability affecting htmlsanitizer_project htmlsanitizer. It was published on January 4, 2021 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from htmlsanitizer_project. Update htmlsanitizer to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
htmlsanitizer_project htmlsanitizer >= 0, < 5.0.372 Affected

Frequently Asked Questions

What is CVE-2020-26293?

CVE-2020-26293 is a medium-severity vulnerability affecting htmlsanitizer_project htmlsanitizer. It was published on January 4, 2021 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

How severe is CVE-2020-26293?

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2020-26293?

Check the references section for vendor advisories and patches from htmlsanitizer_project. Update htmlsanitizer to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2020-26293?

CyberStrike's AI-powered security agents can automatically detect CVE-2020-26293 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.