medium6.1
CVE-2009-4924
Cross-site Scripting in python-cjson
Impact
Python-cjson 1.0.5 does not properly handle a ['/'] argument to cjson.encode, which makes it easier for remote attackers to conduct certain cross-site scripting (XSS) attacks involving Firefox and the end tag of a SCRIPT element.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | python-cjson | < 1.1.0 | 1.1.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dan Pascu | Python-Cjson | Version 1.0.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://pypi.python.org/pypi/python-cjson/
- http://t3.dotgnu.info/blog/insecurity/quotes-dont-help.html
- https://github.com/advisories/GHSA-95jp-77w6-qj52
- https://nvd.nist.gov/vuln/detail/CVE-2009-4924
- https://github.com/pypa/advisory-db/tree/main/vulns/python-cjson/PYSEC-2010-26.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/python-cjson/PYSEC-2010-26.yaml
- http://pypi.python.org/pypi/python-cjson