CVE-2026-142694: feedparser through 6.0.14 XSS via SVG xlink:href and Form Action
feedparser through 6.0.14 contains a cross-site scripting vulnerability in HTMLSanitizer.unknownstarttag() 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.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed in practice?
Applications that consume attacker-controlled feeds and render the sanitized feed content in a browser are exposed. Script executes in the rendering application's origin, so impact is tied to the privileges and data available in that origin.
What must an attacker do to exploit this issue?
The attacker must control content in a feed consumed by the application and include a javascript: URI in an SVG xlink:href attribute or a form action attribute. A user must then interact with the rendered content.