CVE-2026-30830

Defuddle: XSS via unescaped string interpolation in _findContentBySchemaText image tag

Published Mar 7, 2026 CVSS 4.0 · 2.1 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-5mq8-78gm-pjmq defuddle vulnerable to XSS via unescaped string interpolation in _findContentBySchemaText image tag
History
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'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', '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 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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 10, 2026, 5:58 PM
Reserved
Mar 5, 2026, 9:06 PM
Status
Analyzed
Published
Mar 7, 2026, 6:16 AM
Modified
Jun 17, 2026, 10:32 AM