SECURITY ADVISORY RECORD (NON-KEV)

CVE-2026-140391

npm dompurify

Vulnerability Overview

With SAFE_FOR_TEMPLATES: true, DOMPurify 3.4.17 returns strings that contain no {{ or }}, but which turn into a live {{…}} expression as soon as the string is assigned to innerHTML. A template engine that then compiles that DOM (verified with Vue 3 in-DOM templates and AngularJS 1.8.3) evaluates the attacker's expression, giving arbitrary JavaScript execution. The attacker controls only the...

Advisory Facts & Remediation Mandate

Remediation Due Date
No federal deadline
Date Added
2026-12-03
Affected Vendor / Product
npm dompurify
Ransomware Campaign Use
Not reported
Required Action:

Upgrade dompurify to version 3.4.18 or later.

Advisory Verification Questions

Is CVE-2026-140391 listed in the CISA KEV catalog?

No. This record tracks an ecosystem/vendor advisory affecting npm dompurify and is not currently listed in the CISA KEV catalog.

What is the official remediation action for CVE-2026-140391?

Upgrade dompurify to version 3.4.18 or later.