CVE-2009-5065 feedparser Cross-site Scripting vulnerability
Remote attackers can inject arbitrary web script or HTML via nested CDATA stanzas in the Universal Feed Parser library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2009-5065?
CVE-2009-5065 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 Apr 2011. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in feedparser.py in Universal Feed Parser (aka feedparser or python-feedparser) before 5.0 allows remote attackers to inject arbitrary web script or HTML via vectors involving nested CDATA stanzas.
Weakness: CWE-79
Which versions are affected by CVE-2009-5065?
3 open source packages ship an affected version, including feedparser. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
feedparser PyPI | All versions | 5.0 |
feedparser PyPI | All versions | 5.0 |
feedparser PyPI | All versions | 5.0 |
Products include Mark Pilgrim Feedparser.
How do I fix CVE-2009-5065?
Upgrade feedparser to 5.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2009-5065 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-5065 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2009-5065, GHSA-3mwg-gp5g-fv3q, PYSEC-2011-18.