Defuddle cleans up HTML pages. Prior to version 0.9.0, the _findContentBySchemaText method in src/defuddle.ts interpolates image src and alt attributes directly into an HTML string without escaping. An attacker can use a " in the alt attribute to break out of the attribute context and inject event handler. This issue has been patched in version 0.9.0.

Project Subscriptions

Vendors Products
Defuddle Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5mq8-78gm-pjmq defuddle vulnerable to XSS via unescaped string interpolation in _findContentBySchemaText image tag
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 11 Mar 2026 19:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:kepano:defuddle:*:*:*:*:*:node.js:*:*
Metrics cvssV3_1

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


Tue, 10 Mar 2026 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 09 Mar 2026 10:15:00 +0000

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

Sat, 07 Mar 2026 06:00:00 +0000

Type Values Removed Values Added
Description Defuddle cleans up HTML pages. Prior to version 0.9.0, the _findContentBySchemaText method in src/defuddle.ts interpolates image src and alt attributes directly into an HTML string without escaping. An attacker can use a " in the alt attribute to break out of the attribute context and inject event handler. This issue has been patched in version 0.9.0.
Title Defuddle: XSS via unescaped string interpolation in _findContentBySchemaText image tag
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-10T17:58:06.614Z

Reserved: 2026-03-05T21:06:44.606Z

Link: CVE-2026-30830

cve-icon Vulnrichment

Updated: 2026-03-10T17:50:26.268Z

cve-icon NVD

Status : Analyzed

Published: 2026-03-07T06:16:11.163

Modified: 2026-03-11T18:50:35.537

Link: CVE-2026-30830

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-09T10:05:46Z

Weaknesses