CVE-2026-30830
MEDIUMdefuddle < 0.9.0 - Cross-Site Scripting via Image Alt Attribute
Title source: llmDescription
Defuddle cleans up HTML pages. Prior to version 0.9.0, the _findContentBySchemaText method in src/defuddle.ts interpolates image src and alt attributes directly into an HTML string without escaping. An attacker can use a " in the alt attribute to break out of the attribute context and inject event handler. This issue has been patched in version 0.9.0.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://github.com/kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq
Scores
CVSS v3
6.1
EPSS
0.0025
EPSS Percentile
16.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (2)
kepano/defuddle
< 0.9.0
npm/defuddle
0 - 0.9.0npm
Published
Mar 07, 2026
Tracked Since
Mar 07, 2026