CVE catalog

CVE-2026-65898

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 c

[CVE catalog]

Severity
High · CVSS 7.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.30% · Oct 22, 2026

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.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debiannode-dompurifysid3.4.16+dfsg-1fixed
Debiannode-dompurifyforky3.4.16+dfsg-1fixed
Debiannode-dompurifytrixie3.1.7+dfsg+~3.0.5-2vulnerable
Debiannode-dompurifybookworm2.4.1+dfsg+~2.4.0-2+deb12u1vulnerable
Debiannode-dompurifybookworm-security2.4.1+dfsg+~2.4.0-2vulnerable
Opensusepython-comfyui-frontend-packagetumbleweed1.52.7-1.1fixed
Ubuntunode-dompurify22.042.3.0+dfsg-2vulnerable
Ubuntunode-dompurify22.042.3.3+dfsg-1vulnerable
Ubuntunode-dompurify24.042.4.1+dfsg+~2.4.0-1vulnerable
Ubuntunode-dompurify24.043.0.9+dfsg+~3.0.5-1vulnerable
Ubuntunode-dompurify26.043.1.7+dfsg+~3.0.5-2vulnerable
Ubuntunode-dompurify26.043.3.3+dfsg-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-dompurifysourcesid3.4.12+dfsg-1not yet assignedNot reportedNot reported
Debiannode-dompurifysourceforky3.4.12+dfsg-1not yet assignedNot reportedNot reported
Debiannode-dompurifysourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debiannode-dompurifysourcebookworm(unfixed)not yet assignedNot reportedNot reported
Opensusepython-comfyui-frontend-packagerpmtumbleweed1.52.7-1.1Not reportedOPENSUSE-SU-2026:11723-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-dompurify]Affected
    Details (4)
    • 2.4.1+dfsg+~2.4.0-2+deb12u1 · all · bookworm

      Affected

      nvd · node-dompurify · debian · bookworm; nvd · node-dompurify · debian · 12

    • 2.4.1+dfsg+~2.4.0-2+deb12u1 · all · bookworm

      Affected

      nvd · node-dompurify · debian · bookworm; nvd · node-dompurify · debian · 12

    • 2.4.1+dfsg+~2.4.0-2 · all · bookworm-security

      Affected

      nvd · node-dompurify · debian · bookworm; nvd · node-dompurify · debian · 12

    • 2.4.1+dfsg+~2.4.0-2 · all · bookworm-security

      Affected

      nvd · node-dompurify · debian · bookworm; nvd · node-dompurify · debian · 12

[Debian 13 (Trixie)]

  • [node-dompurify]Affected
    Details (2)
    • 3.1.7+dfsg+~3.0.5-2 · all · trixie

      Affected

      nvd · node-dompurify · debian · 13

    • 3.1.7+dfsg+~3.0.5-2 · all · trixie

      Affected

      nvd · node-dompurify · debian · 13

[openSUSE Tumbleweed]

Observed:

References