Skip to content

CVE-2026-61824 Defuddle: XSS via unescaped attribute interpolation in site extractors

HighCVSS 8.2 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm defuddle(npm) < 0.19.1; <= 0.19.0 0.19.1 Fixed
kepano defuddle = < 0.19.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
kepano defuddle = < 0.19.1 No fix listed
npm defuddle(npm) <= 0.19.0 No fix listed
npm defuddle(npm) < 0.19.1 0.19.1

References