CVE-2026-30830 PUBLISHED

Defuddle: XSS via unescaped string interpolation in _findContentBySchemaText image tag

Assigner: GitHub_M
Reserved: 05.03.2026 Published: 07.03.2026 Updated: 07.03.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P
CVSS Score: 2.1

Product Status

Vendor kepano
Product defuddle
Versions
  • Version < 0.9.0 is affected

References

Problem Types

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE