Skip to main content
← All vulnerabilities
CVE-2026-30830GHSA-5MQ8-78GM-PJMQ

Defuddle: XSS via unescaped string interpolation in _findContentBySchemaText image tag

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.9.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • kepano defuddle

    fixed in 0.9.0

  • defuddlenpm

    fixed in 0.9.0

References 2

GitHub · kepano/defuddle