GitHub Advisoryadvisory · PyPI
GHSA-95jp-77w6-qj52 Cross-site Scripting in python-cjson
MEDIUM
Official page ↗
- Aliases
- CVE-2009-4924
- Ecosystem
- PyPI
- Packages
- python-cjson
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2021-12-06
Affected packages
• PyPI python-cjson: < 1.1.0 → fixed in 1.1.0
Description
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.
Related
Alias · CVE (1)
- CVE-2009-4924 Dan Pascu python-cjson 1.0.5 does not properly handle a ['/'] argument to cjson.encode, which makes it easier for remote attackers to… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2009-4924 advisory
- https://github.com/AGProjects/python-cjson package
- https://github.com/advisories/GHSA-95jp-77w6-qj52 advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/python-cjson/PYSEC-2010-26.yaml web
- https://github.com/pypa/advisory-db/tree/main/vulns/python-cjson/PYSEC-2010-26.yaml web
- http://pypi.python.org/pypi/python-cjson web
- http://t3.dotgnu.info/blog/insecurity/quotes-dont-help.html web