Advisory

GHSA-x9jp-4w8m-4f3c

Also known as: None

Summary

Cross Site Scripting vulnerability in django-jsonform's admin form.

Details

Description

django-jsonform stores the raw JSON data of the db field in a hidden textarea on the admin page. However, that data was kept in the textarea after unescaping it using the safe template filter. This opens up possibilities for XSS attacks.

This only affects the admin pages where the django-jsonform is rendered.

Mitigation

Upgrade to django-jsonform version 2.10.1 or later.

For more information

If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-06-10 19:51 UTC
Modified
2024-12-07 05:41 UTC

Affected packages and fixes

django-jsonform

PyPI · All systems

Affected

  • introduced 0, fixed 2.10.1 (ecosystem)

Fixed versions

2.10.1

Fix

  • Fixed version 2.10.1
    pip install --upgrade django-jsonform==2.10.1

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