CVE-2021-26539
JSON

5.3medium

Improper Input Validation in sanitize-html

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
1.98% (higher than 81% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-rjqq-98f6-6j3r

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
sanitize-html (npm)before 2.3.1GitHub Advisory Database
apostrophecms sanitize-htmlbefore 2.3.1NVD

All scores

GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

Apostrophe Technologies sanitize-html antes de 2.3.1, no maneja apropiadamente los nombres de dominio internacionalizados (IDN), lo que podría permitir a un atacante omitir la validación de la lista blanca de nombres de host establecida por la opción "allowedIframeHostnames"

References

Sources

SourceRecordLicence
CVE ListCVE-2021-26539 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-rjqq-98f6-6j3r changed 2023-11-08CC-BY-4.0
NVDCVE-2021-26539 changed 2026-06-17Public domain