CVE-2026-30830: Defuddle - Stored XSS
- Cve: CVE-2026-30830
- Name: Defuddle - Stored XSS
- 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.
- Impact: Attackers can inject malicious scripts via image alt attributes, leading to client-side script execution and potential user session compromise.
- Remediation: Update to version 0.9.0 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00292
- Epss percentile: 0.22042
- Assignee: [email protected]
- Published at: 2026-03-07T06:16:11Z
- Age in days: 262
- Modified at: 2026-06-17T10:32:59Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-30830
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq | nvd | 2026-03-07 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/kepano/defuddle/commit/f154cb740ee603431b69638273af737a27156df9 | nvd | Patch |
| https://github.com/kepano/defuddle/security/advisories/GHSA-5mq8-78gm-pjmq | nvd | Exploit, Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| kepano:defuddle | < 0.9.0 | no | nvd | /v1/products/kepano/defuddle |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| kepano/defuddle | commit, fix, package, security_advisory | yes | /v1/repositories/kepano/defuddle |
Index
- Repositories: 1
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-03-07
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts