CVE Hunter
›
CVE-2026-61784

CWE-79 · CWE-116

MEDIUM CVSS 6.1 NVD

xhtml-purifier is a Node.js library to take in raw/unknown/untrusted HTML and output cleaned, purified, trusted HTML. Versions prior to 0.4.3 do not HTML-entity-encode attribute values when serializing its sanitized output. In attributeString() (XHTMLPurifier.js, around line 148) the attribute value is concatenated directly into a double-quoted attribute without encoding. As a result, an attacker-controlled value in any allowed attribute (class, style, title, alt, src, href) can include a double-quote character to break out of the attribute and inject an additional attribute, such as a JavaScript event handler (for example onmouseover or onerror). The injected handler survives sanitization and executes when the output is rendered, which is a sanitizer bypass leading to cross-site scripting. The fix in version 0.4.3 HTML-entity-encodes attribute values before serialization.

Yayınlanma 24.09.2026
ISO Tarih 2026-09-24
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Changed S:C
Confidentiality Low C:L
Integrity Low I:L
Availability None A:N
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları
CVSS Skoru
6.1 / 10 · CVSS MEDIUM
Zayıflık Türleri (CWE)
CWE-79 CWE-116
Referanslar (2)
İlgili CVE'ler
9.8
CVE-2026-130735
Grav from 2.0.0 before 2.2.18 contains a Twig injection vulnerability that allows media-only accounts and anon
9.6
CVE-2026-130680
SiYuan from 3.3.0 before 3.8.10 contains a stored cross-site scripting vulnerability that allows attackers to
9.4
CVE-2026-130681
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability, an incomplete fix for CVE-2026-4467
9.4
CVE-2026-130678
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability that allows attackers to execute scr
9.4
CVE-2026-130679
SiYuan before 3.8.10 contains a stored cross-site scripting vulnerability in genAVValueHTML() that allows atta
9.3
CVE-2025-59906
Hardcoded credentials in the executable file. These can be extracted using the “Strings.exe” tool and coul