Cross-site scripting in feedparser via javascript: URIs in SVG
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
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
Remediation
The sources list no fixed version for feedparser.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Vendor assessments
Timeline
- 2026-12-03 Threatist record created from CVE-2026-142694
- 2026-12-03 Alias added: GHSA-q48p-4mr2-xwmc
- 2026-12-03 CISA SSVC decision points changed
- 2026-12-04 Affected versions changed · Red Hat
- 2026-12-04 CVSS score added · Red Hat
References
Exploit 2
Sources
- CVE-2026-142694 · CVE Program
- CVE-2026-142694 · NVD
- FIRST EPSS
- GHSA-q48p-4mr2-xwmc · GitHub Advisory Database · CC BY 4.0
- CVE-2026-142694 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences