Skip to content
Threat Feed
high advisory

Defuddle XSS Vulnerability in Site Extractors

The Defuddle library contains an Improper Neutralization of Input vulnerability leading to Cross-Site Scripting (XSS) in applications that render unescaped site extraction output.

CVE search metadata

CVE search record: CVE-2026-61824. Severity: high. CVSS: 8.2. KEV: no. Product: Defuddle. Brief: Defuddle XSS Vulnerability in Site Extractors. Brief link: https://feed.craftedsignal.io/briefs/2026-08-defuddle-xss/

Defuddle versions through 0.19.0 contain a vulnerability (CVE-2026-61824) related to improper input neutralization in its site extractor component. The library fails to correctly escape attribute values when interpolating them into generated HTML. This flaw allows an attacker who controls the input source or the content of a site being processed by Defuddle to inject malicious scripts into the resulting HTML output.

When downstream applications, such as the Obsidian Web Clipper or web services that render Defuddle's output directly, display this unsanitized HTML to a user, the malicious script executes in the context of the user's browser. This enables typical XSS-based attacks, including session hijacking, credential theft, or unauthorized actions performed on behalf of the victim. The vulnerability is addressed in version 0.19.1.

Impact

Successful exploitation results in Cross-Site Scripting (XSS) within the context of any application utilizing the Defuddle library to render content. This poses a significant risk to users of tools like the Obsidian Web Clipper and custom web services that rely on the library to parse and display external HTML. The ability to execute arbitrary scripts allows for potential account takeover or sensitive data exposure depending on the privileges of the victim and the scope of the affected application.

Recommendation

Update all instances of the Defuddle npm package to version 0.19.1 or later to remediate CVE-2026-61824. Developers integrating Defuddle into web-based services should implement strict Content Security Policy (CSP) headers and ensure that all content rendered from site extraction processes is passed through a sanitization library before being injected into the DOM.


Immediate actions

Audit software supply chain for Defuddle dependencies <= 0.19.0

Application Security 48h

Mitigations

Upgrade Defuddle to 0.19.1

immediate IT Operations

CVE-2026-61824