Advisory

GHSA-95jp-77w6-qj52

Also known as: CVE-2009-4924, PYSEC-2010-26

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-12-06 18:17 UTC
Modified
2024-10-25 21:00 UTC

Affected packages and fixes

python-cjson

PyPI · All systems

Affected

  • introduced 0, fixed 1.1.0 (ecosystem)

Fixed versions

1.1.0

Fix

  • Fixed version 1.1.0
    pip install --upgrade python-cjson==1.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences