CVE-2026-30830

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:kepano:defuddle:*:*:*:*:*:node.js:*:*

History

11 Mar 2026, 18:50

Type Values Removed Values Added
References () https://github.com/kepano/defuddle/commit/f154cb740ee603431b69638273af737a27156df9 - () https://github.com/kepano/defuddle/commit/f154cb740ee603431b69638273af737a27156df9 - Patch
References () https://github.com/kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq - () https://github.com/kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq - Exploit, Mitigation, Vendor Advisory
First Time Kepano defuddle
Kepano
Summary
  • (es) Defuddle limpia páginas HTML. Antes de la versión 0.9.0, el método _findContentBySchemaText en src/defuddle.ts interpola los atributos src y alt de las imágenes directamente en una cadena HTML sin escapar. Un atacante puede usar una ' en el atributo alt para salir del contexto del atributo e inyectar un gestor de eventos. Este problema ha sido parcheado en la versión 0.9.0.
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
CPE cpe:2.3:a:kepano:defuddle:*:*:*:*:*:node.js:*:*

07 Mar 2026, 06:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-07 06:16

Updated : 2026-03-11 18:50


NVD link : CVE-2026-30830

Mitre link : CVE-2026-30830

CVE.ORG link : CVE-2026-30830


JSON object : View

Products Affected

kepano

  • defuddle
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')