{"id":"CVE-2026-30830","aliases":["GHSA-5mq8-78gm-pjmq"],"url":"https://o3.security/vulnerability/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.","published":"2026-03-07T05:49:15.964Z","modified":"2026-07-15T01:49:19.246436362Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"defuddle","fixedVersion":"0.9.0"}],"fix":{"url":"https://github.com/kepano/defuddle/commit/f154cb740ee603431b69638273af737a27156df9","label":"kepano/defuddle@f154cb7"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:19.246436362Z"}}