Defuddle: XSS via unescaped string interpolation in _findContentBySchemaText image tag
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kepano | defuddle | before 0.9.0 | 0.9.0 | Patch available | CNA |
| — | defuddle (npm) | before 0.9.0 | 0.9.0 | Patch available | GHSA-5mq8-78gm-pjmq |
- defuddle Vendorkepano Affected before 0.9.0 Fixed in 0.9.0 Patch available CNA
- defuddle (npm) Vendor— Affected before 0.9.0 Fixed in 0.9.0 Patch available GHSA-5mq8-78gm-pjmq
Remediation
- Fix · CNA defuddle (kepano) Fixed in 0.9.0
- Fix · GHSA-5mq8-78gm-pjmq defuddle (npm) Fixed in 0.9.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-30830
- 2026-10-03 Alias added: GHSA-5mq8-78gm-pjmq
References
Sources
- CVE-2026-30830 · CVE Program
- CVE-2026-30830 · NVD
- FIRST EPSS
- GHSA-5mq8-78gm-pjmq · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences