NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-21520: Cross-site Scripting in djangorestframework

lowCVSS 4.0 2.1 · 3.1 6.1GHSA-gw84-84pc-xp82

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

Published Jun 26, 2024 · Updated Dec 31, 2024

Affected packages

djangorestframework

Ecosystem
PyPI
Affected
< 3.15.2
Fixed in
3.15.2
Check
pip show djangorestframework

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries