Skip to content
OpenAdvisories
High · 7.2 CVE-2026-65898 EUVD-2026-48286GHSA-cmwh-pvxp-8882

DOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfig

Published Jul 23, 2026 · Updated Jul 23, 2026 · Assigned by VulnCheck

Description

DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist. Attackers can register a hook that conditionally allows dangerous attributes like onerror for trusted elements, then submit untrusted content that inherits the polluted allowlist and executes event handlers as stored XSS.

Affected products

VendorProductAffectedFixed
cure53 DOMPurify < 3.4.11 3.4.11

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-dompurify 3.4.12+dfsg-1 —
Debian 13 node-dompurify No fix yet —
Debian 12 node-dompurify No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS node-dompurify No fix yet —
Ubuntu 24.04 LTS node-dompurify No fix yet —
Ubuntu 22.04 LTS node-dompurify No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana12.4 12.4.8-0.1.2.hum1 RHSA-2026:58500
Red Hat Hardened Images 1 grafana13.1 13.1.3-0.1.3.hum1 RHSA-2026:58502
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-comfyui-frontend-package 1.52.7-1.1 openSUSE-SU-2026:11723-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3-compat 3.225.7-r6 —
Wolfi rolling langfuse-3-worker 3.197.1-r0 —
Wolfi rolling nextcloud-server-33 33.0.6-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm dompurify < 3.4.11 3.4.11 GHSA-cmwh-pvxp-8882

Advisories 3

References