All vulnerabilities

PyPI

CVE-2026-142694

feedparser through 6.0.14 XSS via SVG xlink:href and Form Action

Severity
Medium 5.1
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · Needs someone to click or open something
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
feedparserPyPI · osv:PyPI:feedparser
  • Every version up to 6.0.14

About feedparser

Weekly downloads (PyPI)
3,615,566PyPI Stats, 3 Dec 2026

This is the only vulnerability in feedparser in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142694