{"cve":"CVE-2026-30830","nvd":{"published":"2026-03-07T06:16:11.163","modified":"2026-06-17T10:32:59.390","status":"Analyzed","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.","cvss_v4":{"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","score":2.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/kepano/defuddle/commit/f154cb740ee603431b69638273af737a27156df9","https://github.com/kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq"],"products":["kepano:defuddle"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-30830","score":0.00268,"percentile":0.18992,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5mq8-78gm-pjmq","url":"https://osv.dev/vulnerability/GHSA-5mq8-78gm-pjmq","summary":"defuddle vulnerable to XSS via unescaped string interpolation in _findContentBySchemaText image tag","modified":"2026-07-20T21:46:41.489404441Z","packages":[{"ecosystem":"npm","name":"defuddle","purl":"pkg:npm/defuddle","ranges":["<0.9.0"],"fixed":["0.9.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}