CVE-2026-61824: Defuddle vulnerable to XSS via unescaped attribute interpolation in site extractors
Summary An Improper Neutralization of Input During Web Page Generation issue in the site extractor component allows an attacker-controlled attribute value to be injected into output HTML without escaping. An attacker who crafts a malicious HTML page or controls content on a matching domain can execute arbitrary scripts when a victim processes the page, resulting in Cross-Site Scripting (XSS).
Published Aug 21, 2026
Affected packages
defuddle
- Ecosystem
- npm
- Affected
- <= 0.19.0
- Fixed in
- 0.19.1
- Check
npm ls defuddle
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
An Improper Neutralization of Input During Web Page Generation issue in the site extractor component allows an attacker-controlled attribute value to be injected into output HTML without escaping. An attacker who crafts a malicious HTML page or controls content on a matching domain can execute arbitrary scripts when a victim processes the page, resulting in Cross-Site Scripting (XSS). This affects defuddle through 0.19.0 and has been patched in version 0.19.1.
Impact
This vulnerability allows for Cross-Site Scripting (XSS) execution without needing to compromise external websites. Affected consumers include:
- Obsidian Web Clipper,
- web services serving the parsed output directly as HTML, and
- any downstream application rendering the unsanitized HTML results
Patch
This issue has been patched in defuddle version 0.19.1. Users are encouraged to update to the latest release.
Credited to Mr-DJ.
References
- https://github.com/kepano/defuddle/security/advisories/GHSA-jg4p-g6xj-4qmf
- https://github.com/kepano/defuddle/pull/326
- https://github.com/kepano/defuddle/commit/baf2eaef61d334ef595b28c89e5c5e89e52daf7f
- https://github.com/kepano/defuddle/releases/tag/0.19.1
- https://github.com/advisories/GHSA-jg4p-g6xj-4qmf
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
