CVE-2024-21520

MEDIUMCVSS 6.1/10EPSS 1.13%

Last modified

CVE-2024-21520 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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.. EPSS estimates a 1.13% chance of exploitation in the next 30 days.

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.

Metrics

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is 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.
How severe is CVE-2024-21520?
CVE-2024-21520 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 1.13% probability of exploitation in the next 30 days.
How do I fix CVE-2024-21520?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2024

Are you affected by CVE-2024-21520?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST