Логотип exploitDog
bind:CVE-2025-62366
Консоль
Логотип exploitDog

exploitDog

bind:CVE-2025-62366

Количество 2

Количество 2

nvd логотип

CVE-2025-62366

4 месяца назад

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.

EPSS: Низкий
github логотип

GHSA-xw6r-chmh-vpmj

4 месяца назад

Mailgen has HTML Injection and XSS Filter Bypass in Plaintext Emails

EPSS: Низкий

Уязвимостей на страницу

Уязвимость
CVSS
EPSS
Опубликовано
nvd логотип
CVE-2025-62366

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.

0%
Низкий
4 месяца назад
github логотип
GHSA-xw6r-chmh-vpmj

Mailgen has HTML Injection and XSS Filter Bypass in Plaintext Emails

0%
Низкий
4 месяца назад

Уязвимостей на страницу