feedparser through 6.0.14 contains a cross-site scripting vulnerability in HTMLSanitizer.unknown_starttag() that
Source GCVE Database
Not known to be exploited · CVSS 5.1 Medium.
Data as of 3 Dec 2026, 06:00 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.1 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| kurtmckeefeedparser | Affected
| Fixed in– |
PyPIfeedparserpkg:pypi/feedparserOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should exercise caution when consuming untrusted feeds and consider additional sanitization or filtering of SVG xlink:href and form action attributes to block javascript: URIs.
Description
feedparser versions through 6.0.14 have a cross-site scripting (XSS) vulnerability in the HTMLSanitizer.unknown_starttag() function. This flaw allows javascript: URIs to bypass sanitization because scheme checks are only applied to href attributes. An attacker controlling a feed can embed malicious javascript: URIs in SVG xlink:href or form action attributes, potentially executing scripts in the context of the rendering application.
References
- nvd.nist.gov/vuln/detail/CVE-2026-142694 (opens in a new tab)
- github.com/kurtmckee/feedparser/issues/619 (opens in a new tab)
- github.com/kurtmckee/feedparser/pull/620 (opens in a new tab)
- gist.github.com/jacopotediosi/4026a2509d04559e17852169fd04c9eb (opens in a new tab)
- github.com/kurtmckee/feedparser/blob/14425f6851790184fbf7bbd8076de237d5f444f9/feedparser/sanitizer.py (opens in a new tab)
- github.com/kurtmckee/feedparser/blob/14425f6851790184fbf7bbd8076de237d5f444f9/feedparser/urls.py (opens in a new tab)
- vulncheck.com/advisories/feedparser-through-6.0.14-xss-via-svg-xlink-href-and-form-action (opens in a new tab)