Read the docs

Cross-site scripting in feedparser via javascript: URIs in SVG

Priority MEDIUM 56CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

feedparser through 6.0.14 contains a cross-site scripting flaw (CWE-79) in HTMLSanitizer.unknown_starttag(). Its scheme checks apply only to href attributes, so javascript: URIs in SVG xlink:href or form action attributes pass sanitization. An attacker who controls a feed that the application consumes can run script in the rendering application's origin. A proof-of-concept exploit is linked in the references.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00333 28th percentileScored 2026-12-03
Public exploit Yes 2 exploit referencesTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
kurtmckeefeedparserup to 6.0.14—No fix listedCNA
  • feedparser Vendorkurtmckee Affected up to 6.0.14 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for feedparser.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-12-03 Threatist record created from CVE-2026-142694
  2. 2026-12-03 Alias added: GHSA-q48p-4mr2-xwmc
  3. 2026-12-03 CISA SSVC decision points changed
  4. 2026-12-04 Affected versions changed · Red Hat
  5. 2026-12-04 CVSS score added · Red Hat

References

Sources