{"id":"CVE-2026-30830","published":"2026-03-07T05:49:15Z","modified":"2026-03-10T17:58:06Z","title":"Defuddle: XSS via unescaped string interpolation in _findContentBySchemaText image tag","vendor":"kepano","product":"defuddle","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.1,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00292,"percentile":0.22267,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kepano/defuddle/commit/f154cb740ee603431b69638273af737a27156df9","tags":["x_refsource_MISC"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":4.45},{"name":"CVSS severity","points":1.47}]},"vendorSlug":"kepano","affectedVersions":[{"vendor":"kepano","product":"defuddle","versions":["< 0.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-10T17:45:32.483501Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"defuddle","vulnerableRanges":["<0.9.0"],"patched":["0.9.0"],"from":["GHSA-5mq8-78gm-pjmq"],"provenance":"source"}],"summary":{"text":"Defuddle, an HTML page-cleaning tool by kepano, has a cross-site scripting flaw in the _findContentBySchemaText method in src/defuddle.ts, which inserts image src and alt attribute values into an HTML string without escaping them. An attacker who gets a page containing a crafted alt attribute processed by Defuddle, and a user who interacts with the output (such as viewing the cleaned content), can break out of the attribute and inject an event handler that runs in the victim's context.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:27Z"},"euvd":{"id":"EUVD-2026-10118","exploited":false,"provenance":"source"}}