← العودة للجدول
CVE-2026-140391
CVE-2026-140391 — DOMPurify: SAFE_FOR_TEMPLATES bypass: template expressions reassemble when sanit
📅 2026-12-03
🟡 Medium 🔥 PoC Only GHSA PoC Research Web CVSS 6.1

📋 الوصف الكامل

### Summary 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 at

💻 الأنظمة المتأثرة

Chromium | Mozilla Firefox

⚠️ نوع التهديد

PoC Research

🔗 CVE ID

CVE-2026-140391

📡 المصدر

GHSA

✅ الحلول والتخفيف

Refer to CVE-2026-140391 NVD advisory

🔗 المصدر الأصلي ← 📘 NVD ← ⚡ CISA KEV ← 🔍 Valters IT ←