Vulnerability

CVE-2024-21520

lowCVSS 4.0 2.1Published 26 Jun 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Versions of the package djangorestframework before 3.15.2 are vulnerable to Cross-site Scripting (XSS) via the break_long_headers template filter due to improper input sanitization before splitting and joining with <br> tags.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /encode/django-rest-framework/commit/3b41f0124194430da957b1…
  • github.com /encode/django-rest-framework/pull/9435
  • security.snyk.io /vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137
  • github.com /encode/django-rest-framework/compare/3.15.1...3.15.2

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning