CVE-2024-21520

State
Published
Severity
5.3 Medium
Published
Jun 26, 2024
Updated
Dec 31, 2024
Reserved
Dec 22, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:Psnyk
3.16.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:Psnyk

Weaknesses

  • CWE-79 Cross-site Scripting (XSS)

Affected Products

ProductVersions
djangorestframeworkn/a
  • before 3.15.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.