XSS in Kepano Defuddle
CVE-2026-30830
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 22.0th percentile
- Published
- 2026-03-07
What to do
- Fixed in
0.9.0- Affected
- 1 affected product
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 22.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Kepano Defuddle — versions < 0.9.0
Weakness classification (CWE)
References
- https://github.com/kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq (Exploit, Mitigation, Vendor Advisory)
- https://github.com/kepano/defuddle/commit/f154cb740ee603431b69638273af737a27156df9 (Patch)