GHSA-q48p-4mr2-xwmcMediumCVSS 6.1
feedparser through 6.0.14 contains a cross-site scripting vulnerability in HTMLSanitizer...
🔗 CVE IDs covered (1)
📋 Description
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 (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142694
- https://github.com/kurtmckee/feedparser/issues/619
- https://github.com/kurtmckee/feedparser/pull/620
- https://gist.github.com/jacopotediosi/4026a2509d04559e17852169fd04c9eb
- https://github.com/kurtmckee/feedparser/blob/14425f6851790184fbf7bbd8076de237d5f444f9/feedparser/sanitizer.py#L803-L807
- https://github.com/kurtmckee/feedparser/blob/14425f6851790184fbf7bbd8076de237d5f444f9/feedparser/urls.py#L146-L149
- https://www.vulncheck.com/advisories/feedparser-through-6.0.14-xss-via-svg-xlink-href-and-form-action
- https://github.com/advisories/GHSA-q48p-4mr2-xwmc