Read the docs
TI-2021-08272 Aliases CVE-2021-26539GHSA-rjqq-98f6-6j3r

Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle…

Priority LOW 28CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 3 fixed, 1 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

EPSS 0.01977 80th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial sanitize-html (npm): 2.3.1Red Hat: 2 advisoriesRed Hat: 3 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—sanitize-html (npm)before 2.3.12.3.1Patch availableGHSA-rjqq-98f6-6j3r
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • sanitize-html (npm) Vendor— Affected before 2.3.1 Fixed in 2.3.1 Patch available GHSA-rjqq-98f6-6j3r

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:*before 2.3.1Vulnerableapostrophecms
  • cpe:2.3:a:apostrophecms:sanitize-html:*:*:*:*:*:node.js:*:* Versions before 2.3.1 Vulnerable ·apostrophecms

Remediation

  • Fix · GHSA-rjqq-98f6-6j3r sanitize-html (npm) Fixed in 2.3.1 Advisory →

Red Hat 2 advisories

  • RHSA-2021:3759 Released 2021-10-18 · Red Hat rating Moderate
    OpenShift Container Platform 4.9.0 bug fix and security update
    • Red Hat OpenShift Container Platform 4.9 openshift4/ose-baremetal-rhel8-operator, openshift4/ose-console, openshift4/ose-etcd +4
  • RHSA-2021:2438 Released 2021-07-27 · Red Hat rating Moderate
    OpenShift Container Platform 4.8.2 bug fix and security update
    • Red Hat OpenShift Container Platform 4.8 openshift4/driver-toolkit-rhel8, openshift4/egress-router-cni-rhel8, openshift4/network-tools-rhel8 +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift Service Mesh 2.0AffectedNo fix yet
Red Hat OpenShift Container Platform 4.7Fixed RHSA-2020:5633
Red Hat OpenShift Container Platform 4.8Fixed RHSA-2021:2438
Red Hat OpenShift Container Platform 4.9Fixed RHSA-2021:3759
Not affected: 3 products
  • Red Hat OpenShift Container Platform 4.7
  • Red Hat OpenShift Container Platform 4.8
  • Red Hat OpenShift Container Platform 4.9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-26539
  2. 2026-10-03 Alias added: GHSA-rjqq-98f6-6j3r

References

  • TI-2024-14258 Information disclosure in sanitize-html CVSS 3.1MEDIUM 5.3
  • TI-2026-29000 ApostropheCMS: sanitize-html allowedTags Bypass via Entity-Decoded Text in nonTextTags Elements CVSS 3.1MEDIUM 6.1
  • TI-2019-15279 Cross-site scripting in sanitize-html CVSS 3.1MEDIUM 6.1
  • TI-2014-08427 Cross-site scripting in sanitize-html CVSS 3.1MEDIUM 6.1
  • TI-2022-09444 Regular expression denial of service (ReDoS) in sanitize-html CVSS 3.1HIGH 7.5
  • TI-2016-09355 sanitize-html before 1.4.3 has XSS. CVSS 3.1MEDIUM 6.1
See all 7 →

Sources