Defuddle
Defuddle: XSS via unescaped attribute interpolation in site extractors
Defuddle cleans up HTML pages. Prior to 0.19.1, site extractors interpolate page-derived image alt and src values, og:image values, and video descriptions into HTML strings without context-appropriate escaping, and buildExtractorResponse() returns this contentHtml without the main pipeline's DOM-based sanitization. The affected paths include src/extractors/x-article.ts, src/extractors/substack.ts, and src/extractors/youtube.ts. A malicious page or attacker-controlled content on a matching domain can inject event-handler attributes or javascript URLs that execute when a victim or downstream application renders the extracted HTML. This issue is fixed in version 0.19.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.19.1
Fixed in 0.19.1
Mitigation
Upgrade defuddle to 0.19.1 or later.
References
- Vendor advisory github.com/kepano/defuddle/security/advisories…
- Patch github.com/kepano/defuddle/pull/326
- Patch github.com/kepano/defuddle/commit/baf2eaef61d3…
1 more
- Release notes github.com/kepano/defuddle/releases/tag/0.19.1
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.