HTML Injection Vulnerability in Defuddle by Kepano
CVE-2026-30830
2.1LOW
What is CVE-2026-30830?
An HTML injection vulnerability exists in the Defuddle application prior to version 0.9.0. The issue lies within the _findContentBySchemaText method in the src/defuddle.ts file, which directly interpolates the image src and alt attributes into an HTML string without proper escaping. This lack of escaping allows an attacker to manipulate the alt attribute, injecting malicious JavaScript through event handlers. This vulnerability poses a significant risk for users of the affected versions, as it can be exploited to execute arbitrary scripts in the context of the web page. The vulnerability has been resolved in version 0.9.0.
Affected Version(s)
defuddle < 0.9.0
