← Back to CVEs
CVE-2026-30830
MEDIUM6.1
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.
CVE Details
CVSS v3.1 Score6.1
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionREQUIRED
Published3/7/2026
Last Modified3/11/2026
Sourcenvd
Honeypot Sightings0
Affected Products
kepano:defuddle
Weaknesses (CWE)
CWE-79
References
https://github.com/kepano/defuddle/commit/f154cb740ee603431b69638273af737a27156df9(security-advisories@github.com)
https://github.com/kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq(security-advisories@github.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.