CVE-2021-26539 – sanitize-html
Package
Manager: npm
Name: sanitize-html
Vulnerable Version: >=0 <2.3.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00288 pctl0.51875
Details
Improper Input Validation in sanitize-html Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which could allow an attacker to bypass hostname whitelist validation set by the "allowedIframeHostnames" option.
Metadata
Created: 2021-05-06T16:10:05Z
Modified: 2022-04-27T19:14:02Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-rjqq-98f6-6j3r/GHSA-rjqq-98f6-6j3r.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-rjqq-98f6-6j3r
Finding: F184
Auto approve: 1