CVE-2026-61824

Defuddle: XSS via unescaped attribute interpolation in site extractors

Published Aug 21, 2026 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Defuddle constructs HTML strings for extracted article data by inserting page‑derived image alt, src, og:image, and video description values directly into attribute contexts without proper escaping. This omission allows an attacker to craft a malicious page or inject attacker‑controlled content on a matching domain that includes event‑handler attributes or javascript URLs, resulting in code execution when a user or downstream application renders the extracted HTML. The vulnerability is a classic example of CWE‑79 (Cross‑Site Scripting) that can be triggered via reflected or stored payloads in the output products.

Affected Systems

The affected product is kepano: defuddle. Versions before 0.19.1 are vulnerable, including the site extractor modules located in src/extractors/x‑article.ts, src/extractors/substack.ts, and src/extractors/youtube.ts. The issue is fixed in the 0.19.1 release.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to control content served on a domain that feeds into the affected extractors, so the attack vector is indirect but realistic in environments that ingest external web content. Given the high impact of XSS and the lack of immediate mitigation, the risk remains significant until a patch is applied.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade defuddle to version 0.19.1 or later to apply the upstream fix that provides proper escaping of attribute values.
  • If an upgrade is not immediately possible, disable or remove the site extractor modules that perform unescaped interpolation (e.g., x‑article, substack, youtube) until a secure version can be deployed.
  • Implement additional HTML sanitization or a stricter Content Security Policy in downstream applications to mitigate the risk of executing injected JavaScript.

Generated by OpenCVE AI on August 21, 2026 at 21:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jg4p-g6xj-4qmf Defuddle vulnerable to XSS via unescaped attribute interpolation in site extractors
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Kepano
Kepano defuddle
Vendors & Products Kepano
Kepano defuddle
Type Values Removed Values Added
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.
Title Defuddle: XSS via unescaped attribute interpolation in site extractors
Weaknesses CWE-116
CWE-79
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N'}

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 24, 2026, 7:48 PM
Reserved
Jul 10, 2026, 8:17 PM
Status
Deferred
Published
Aug 21, 2026, 9:17 PM
Modified
Oct 12, 2026, 4:10 PM