Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.1
CVE-2026-142694: feedparser 6.0.14 lets attackers run JavaScript from feeds
CVE-2026-142694 · published today
Summary
The feedparser library up to version 6.0.14 does not properly filter JavaScript URLs in certain HTML tags, allowing malicious code to be executed when a feed is displayed. If you use feedparser to read untrusted feeds, upgrade to a patched version or apply additional sanitization to remove or block javascript: links.
Original advisory text
feedparser through 6.0.14 contains a cross-site scripting vulnerability in HTMLSanitizer.unknown_starttag() that allows javascript: URIs to bypass sanitization because scheme checks apply only to h...
feedparser through 6.0.14 contains a cross-site scripting vulnerability in HTMLSanitizer.unknown_starttag() that allows javascript: URIs to bypass sanitization because scheme checks apply only to href attributes. Attackers controlling a consumed feed can embed javascript: URIs in SVG xlink:href or form action attributes to execute script in the rendering application's origin.
References
- https://gist.github.com/jacopotediosi/4026a2509d04559e17852169fd04c9eb
- https://github.com/kurtmckee/feedparser/blob/14425f6851790184fbf7bbd8076de237d5f...
- https://github.com/kurtmckee/feedparser/blob/14425f6851790184fbf7bbd8076de237d5f...
- https://github.com/kurtmckee/feedparser/issues/619
- https://github.com/kurtmckee/feedparser/pull/620
- https://www.vulncheck.com/advisories/feedparser-through-6.0.14-xss-via-svg-xlink...
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published3 Dec 2026
Updated3 Dec 2026
First seen3 Dec 2026
Sources
CVE-2026-142694 · NVD
Track software like this
Free during beta