CVE-2009-4924 json
Cross-site Scripting in python-cjson
published 16y ago modified 4mo ago also GHSA-95jp-77w6-qj52 , PYSEC-2010-26 , EUVD-2010-0028
- cvss
- 6.1
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi python-cjson 1.1.0
Is CVE-2009-4924 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-4924 updated cvss 5.8
python-cjson: XSS attacks due improper sanitization of ['/'] argument
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.35% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | python-cjson | <1.1.0 |
1.1.0 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
pypi.python.org
/pypi/python-cjson/
web
-
t3.dotgnu.info
/blog/insecurity/quotes-dont-help.html
web, article
-
nvd.nist.gov
/vuln/detail/CVE-2009-4924
advisory
-
github.com
/AGProjects/python-cjson
package
-
github.com
/advisories/GHSA-95jp-77w6-qj52
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/python-cjson/PYSEC-2010-26.yaml
web
-
github.com
/pypa/advisory-db/tree/main/vulns/python-cjson/PYSEC-2010-26.yaml
web
-
pypi.python.org
/pypi/python-cjson
web
Sources
- CVE List CVE-2009-4924
- GitHub Advisory GHSA-95jp-77w6-qj52
- NVD CVE-2009-4924
- OSV PYSEC-2010-26
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.