GitHub Advisory Database
GHSA-95jp-77w6-qj52
Cross-site Scripting in python-cjson
Details
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 versions |
|---|---|---|
| PyPI | python-cjson | All versions before 1.1.0 (fixed in 1.1.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2009-4924
- https://github.com/AGProjects/python-cjson
- https://github.com/advisories/GHSA-95jp-77w6-qj52
- https://github.com/pypa/advisory-database/tree/main/vulns/python-cjson/PYSEC-2010-26.yaml
- https://github.com/pypa/advisory-db/tree/main/vulns/python-cjson/PYSEC-2010-26.yaml
- http://pypi.python.org/pypi/python-cjson
- http://t3.dotgnu.info/blog/insecurity/quotes-dont-help.html