Vulnerability

CVE-2026-30830

lowCVSS 4.0 2.1Published 7 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Kepano defuddle

Weakness type

References

  • github.com /kepano/defuddle/commit/f154cb740ee603431b69638273af737a271…
  • github.com /kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning