CVE-2024-21520

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.
Configurations

No configuration.

History

21 Nov 2024, 08:54

Type Values Removed Values Added
References () https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642 - () https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642 -
References () https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2 - () https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2 -
References () https://github.com/encode/django-rest-framework/pull/9435 - () https://github.com/encode/django-rest-framework/pull/9435 -
References () https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137 - () https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137 -

04 Jul 2024, 15:15

Type Values Removed Values Added
Summary
  • (es) Las versiones del paquete djangorestframework anteriores a la 3.15.2 son vulnerables a Cross-site Scripting (XSS) a través del filtro de plantilla break_long_headers debido a una sanitización inadecuada de la entrada antes de dividir y unir con etiquetas <br>.
References
  • () https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2 -

26 Jun 2024, 05:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-26 05:15

Updated : 2024-11-21 08:54


NVD link : CVE-2024-21520

Mitre link : CVE-2024-21520

CVE.ORG link : CVE-2024-21520


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')