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.
Published: 2026-08-21
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting (XSS) from unescaped HTML attribute interpolation
Action: Immediate Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Mon, 24 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 21 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Kepano
Kepano defuddle
Vendors & Products Kepano
Kepano defuddle

Fri, 21 Aug 2026 20:30:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-24T19:48:53.974Z

Reserved: 2026-07-10T20:17:57.993Z

Link: CVE-2026-61824

cve-icon Vulnrichment

Updated: 2026-08-24T19:48:48.316Z

cve-icon NVD

Status : Received

Published: 2026-08-21T21:17:01.017

Modified: 2026-08-24T20:16:52.567

Link: CVE-2026-61824

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T22:15:04Z

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output

  • CWE-79

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