CVE-2009-4924Dan Pascu Python-cjson
Medium 4.3 No auth needed
Follow: this CVE · Dan Pascu · Dan Pascu Python-cjson We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Jul 2, 2010
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
What happens
Dan Pascu 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.
What to do
- Apply the vendor's security update for Python-cjson.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | python-cjson |
< 1.1.0 |
1.1.0 |
pip install "python-cjson>=1.1.0" |
| PyPI | python-cjson |
< 1.1.0 |
1.1.0 |
pip install "python-cjson>=1.1.0" |
Per OSV / GitHub Advisories (GHSA-95jp-77w6-qj52, PYSEC-2010-26). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dan_pascu | python-cjson | 1.0.5 |
Official sources
References
Links published by the sources. Open them with care.