Lucene search

K
cvelistGitHub_MCVELIST:CVE-2020-26293
HistoryJan 04, 2021 - 6:20 p.m.

CVE-2020-26293 Possible XSS bypass if style tag is allowed

2021-01-0418:20:14
CWE-74
GitHub_M
www.cve.org
4
cve-2020-26293
xss bypass
htmlsanitizer
.net library
style tag allowed
version 5.0.372 fix

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N

EPSS

0.001

Percentile

46.3%

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.

CNA Affected

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

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N

EPSS

0.001

Percentile

46.3%

Related for CVELIST:CVE-2020-26293