8.2high
Defuddle: XSS via unescaped attribute interpolation in site extractors
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.41% (higher than 27% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jg4p-g6xj-4qmf
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kepano defuddle | < 0.19.1 | CVE List |
| defuddle (npm) | before 0.19.1 | GitHub Advisory Database |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Defuddle limpia páginas HTML. Antes de 0.19.1, los extractores de sitios interpolan valores alt y src de imágenes derivados de la página, valores og:image y descripciones de video en cadenas HTML sin el escape apropiado para el contexto, y buildExtractorResponse() devuelve este contentHtml sin la sanitización basada en DOM de la canalización principal. Las rutas afectadas incluyen src/extractors/x-article.ts, src/extractors/substack.ts y src/extractors/youtube.ts. Una página maliciosa o contenido controlado por el atacante en un dominio coincidente puede inyectar atributos de gestor de eventos o URLs de javascript que se ejecutan cuando una víctima o aplicación descendente renderiza el HTML extraído. Este problema está solucionado en la versión 0.19.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-61824 changed 2026-08-24 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jg4p-g6xj-4qmf changed 2026-08-21 | CC-BY-4.0 |
| NVD | CVE-2026-61824 changed 2026-10-12 | Public domain |