VULNERABILITY INTELLIGENCE
CVE-2026-30830
CVSS score6.1 MEDIUM
EPSS probability0.27%
CISA KEVNot currently listed
Published2026-03-07
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description
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.
Weakness classification
- security-advisories@github.com: CWE-79
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Exploit, Mitigation, Vendor Advisory