CVE-2009-5065: XSS

Published Mar 14, 2011
·
Updated

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.

Other sources

The Python Feed Parser program (python-feedparser) recently released version 5.0.1 with the following fixes:

Fix issue 91 (invalid text in XML declaration causes sanitizer to crash) Fix issue 254 (sanitization can be bypassed by malformed XML comments) Fix issue 255 (sanitizer doesn't strip unsafe URI schemes)

Giving the code a quick look, I don't believe the latter two issues affected 4.1 (possibly introduced in the 5.0 release). The first issue was reported against version 4.1 so would affect what we currently ship in Fedora and EPEL.

Version 5.0.1 corrects these flaws. It may be worthwhile to update to the latest version as the 5.0 release corrected a number of bugs and adds CSS/HTML5 sanitization.

Red Hat

Affected Software

10 affected componentsFixes available
pip/feedparser<=4.1
5.0
Mark Pilgrim Feedparser=3.0
Mark Pilgrim Feedparser=4.0.2
Mark Pilgrim Feedparser=3.0.1
Mark Pilgrim Feedparser=3.2
Mark Pilgrim Feedparser=4.0
Mark Pilgrim Feedparser=3.3
Mark Pilgrim Feedparser=3.1
Mark Pilgrim Feedparser<=4.1
Mark Pilgrim Feedparser=4.0.1

Event History

Mar 14, 2011
Data Sourced
via Red Hat·05:21 PM
DescriptionSeverityAffected Software
Apr 11, 2011
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
May 2, 2022
Advisory Published
via GitHub·04:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2009-5065?

The severity of CVE-2009-5065 is medium, with a score of 6.1.

2

What type of vulnerability is CVE-2009-5065?

CVE-2009-5065 is identified as a cross-site scripting (XSS) vulnerability.

3

How can I fix CVE-2009-5065?

To fix CVE-2009-5065, you should apply the available patch to the Universal Feed Parser.

4

What systems are affected by CVE-2009-5065?

CVE-2009-5065 affects versions of the Universal Feed Parser before 5.0.

5

What attack vector is used in CVE-2009-5065?

CVE-2009-5065 allows remote attackers to inject arbitrary web scripts or HTML via nested CDATA stanzas.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203