Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Possible XSS bypass if style tag is allowed

CVSS 3.1 6.1 MEDIUMEUVD CVSS 3.1 6.1 CVSS 3.1 · [email protected] · Secondary 6.1 MEDIUMCVSS 3.1 · [email protected] · Primary 6.1 MEDIUMCVSS 2.0 · [email protected] · Primary 4.3 MEDIUMCVSS_V3 Publisher rating LOWFixed by HtmlSanitizer 5.0.372KEV status unknown

cve-program · CVE-2020-26293

Published

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.

Read the publisher's advisory

euvd · EUVD-2021-0498

Published

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.

Read the publisher's advisory

nvd · CVE-2020-26293

Published

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.

Read the publisher's advisory

osv · GHSA-8j9v-h2vp-2hhv

Published

### Impact 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. ### Patches The problem has been fixed in version 5.0.372. ### Workarounds Remove the `<style>` tag from the set of allowed tags. ### For more information If you have any questions or comments about this advisory open an issue in https://github.com/mganss/HtmlSanitizer ### Credits This issue was discovered by Michal Bentkowski of Securitum.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2020-26293

Published

HtmlSanitizer

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "HtmlSanitizer",
                    "vendor": "mganss",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "< 5.0.372"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2021-0498

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Jan 4, 2021, 6:20:14 PM

dateUpdated: Aug 4, 2024, 3:56:03 PM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2020-26293

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-74 · CWE-79

Original publisher date fields

published: 2021-01-04T19:15:14.970

lastModified: 2026-06-17T03:08:00.980

1 source CPE criteria · context only
  • cpe:2.3:a:htmlsanitizer_project:htmlsanitizer:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-8j9v-h2vp-2hhv

Published

HtmlSanitizer

NuGet

ECOSYSTEM · introduced 0 → fixed 5.0.372

73 versions listed as affected

1.0.4925.29815, 1.0.4927.30873, 1.1.5243.28448, 1.1.5297.28403, 1.1.5338.17998, 2.0.5449.20550, 2.0.5548.24932, 2.0.5595.22183, 2.0.5595.30325, 2.0.5623.30465, 2.0.5735.24296, 3.0.5781.31354-beta, 3.0.66-beta, 3.1.67-beta, 3.1.75-beta, 3.1.76, 3.1.79, 3.1.91, 3.1.93, 3.1.98, 3.2.100-beta, 3.2.103, 3.2.105, 3.2.96-beta, 3.3.122-beta, 3.3.125-beta, 3.3.126-beta, 3.3.127-beta, 3.3.128-beta, 3.3.129-beta, 3.3.130-beta, 3.3.131-beta, 3.3.132-beta, 3.3.142, 3.3.143-beta, 3.3.144-beta, 3.3.145-beta, 3.3.146-beta, 3.3.147-beta, 3.3.148-beta, 3.4.152-beta, 3.4.156, 3.5.168-beta, 3.5.169-beta, 4.0.179, 4.0.180, 4.0.181, 4.0.182, 4.0.183, 4.0.185, 4.0.187, 4.0.197, 4.0.199, 4.0.201, 4.0.204, 4.0.205, 4.0.207, 4.0.210, 4.0.217, 5.0.215-beta, 5.0.218-beta, 5.0.250-beta, 5.0.266-beta, 5.0.274-beta, 5.0.298, 5.0.304, 5.0.310, 5.0.319, 5.0.331, 5.0.342, 5.0.343, 5.0.353, 5.0.355

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 19 Nov 11:48 UTC · 273 of 275 readable · 269 fully read · documentation 469/469 current