CVE-2025-62366

⚪ Do wiadomości

Wstrzyknięcie HTML w Mailgen umożliwia wykonanie złośliwego kodu JavaScript.

CVSS
0.0
EPSS
0.4%
Exploit
none
Vendor
Opis źródłowy (NVD)

mailgen is a Node.js package that generates responsive HTML e-mails for sending transactional mail. Mailgen versions through 2.0.30 contain an HTML injection vulnerability in plaintext emails produced by the generatePlaintext method when user‑generated content is supplied. The function attempts to remove HTML tags, but if tags are provided as encoded HTML entities they are not removed and are later decoded, resulting in active HTML (for example an img tag with an event handler) in the supposed plaintext output. In contexts where the generated plaintext string is subsequently rendered as HTML, this can allow execution of attacker‑controlled JavaScript. Versions 2.0.31 and later contain a fix. No known workarounds exist.

brak Brak patcha
Źródła i daty
ŹródłoWartość
NVD – CVSS0.0
CISA KEV (aktywnie wykorzystywane)Nie
FIRST EPSS (prawdopodobieństwo exploita)0.4%
Opublikowano (NVD)2025-10-14 16:15:42 UTC
Ostatnia modyfikacja (NVD)2026-10-08 11:10:00 UTC
Referencje