CVE-2024-21520Medium· 6.1▾ TwilightPoC availableCross-site Scripting in djangorestframework
▾ Twilight zone — High severity, or a signal on a lesser flaw
impact 33.6 · likelihood 0.2 · exploitation 12
A public proof-of-concept already exists for this vulnerability — see Exploit availability below.
Public exploit / PoC code seen in 1 source. Availability, not in-the-wild use.
Exploit-prediction probability, daily snapshots since Jul 8.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.1%
1 GitHub repo
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.
djangorestframework < 3.15.2Upgrade to a patched release:
djangorestframework 3.15.2Field changes observed since this record was first indexed.
Connected by shared product, vendor, weakness, or advisory.