CVE catalog

CVE-2021-26539

node-sanitize-html: CVE-2021-26539

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.95% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-sanitize-htmlsid2.17.0+~2.16.1-1not affected
Debiannode-sanitize-htmlforky2.17.0+~2.16.1-1not affected
Debiannode-sanitize-htmltrixie2.14.0+~2.13.0-1not affected
Debiannode-sanitize-htmlbookworm2.8.0+~2.6.2-1not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-sanitize-htmlsourcesidNot affectedunimportantNot reportedNot reported
Debiannode-sanitize-htmlsourceforkyNot affectedunimportantNot reportedNot reported
Debiannode-sanitize-htmlsourcetrixieNot affectedunimportantNot reportedNot reported
Debiannode-sanitize-htmlsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-sanitize-html]Not affected
    Details (2)
    • 2.8.0+~2.6.2-1 · all · bookworm

      Not affected

      dsa · node-sanitize-html · debian · bookworm

    • 2.8.0+~2.6.2-1 · all · bookworm

      Not affected

      dsa · node-sanitize-html · debian · bookworm

Observed:

References