{"id":"CVE-2026-30830","summary":"Defuddle: XSS via unescaped string interpolation in _findContentBySchemaText image tag","details":"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.","aliases":["GHSA-5mq8-78gm-pjmq"],"modified":"2026-04-02T13:23:16.848202Z","published":"2026-03-07T05:49:15.964Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30830.json","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30830.json"},{"type":"ADVISORY","url":"https://github.com/kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-30830"},{"type":"FIX","url":"https://github.com/kepano/defuddle/commit/f154cb740ee603431b69638273af737a27156df9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kepano/defuddle","events":[{"introduced":"0"},{"fixed":"440f9e8ca92a7be7871aeb07200190328340dbbf"}]}],"versions":["0.1.1","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.6","0.3.7","0.3.8","0.4.0","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6","0.7.0","0.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-30830.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}