Security mailing lists by PureSourceCode

GHSA-x9jp-4w8m-4f3c

HIGH

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

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:

  • Open an issue.
  • Email the maintainer at Bharat Chauhan <tell.bhch@gmail.com>.
Published
10 Jun 2022
Last modified
7 Dec 2024
Weakness
CWE-79CWE-80
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI django-jsonform < 2.10.1 2.10.1

References

History

  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.