CVE-2024-21520

Source
https://cve.org/CVERecord?id=CVE-2024-21520
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-21520.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-21520
Aliases
Downstream
Related
Published
2024-06-26T05:00:02.490Z
Modified
2026-05-16T11:53:27.868486393Z
Severity
  • 2.1 (Low) CVSS_V4 - CVSS: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:P CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21520.json",
    "cna_assigner": "snyk"
}
References

Affected packages