ghsa-gw84-84pc-xp82
Vulnerability from github
Published
2024-06-26 06:30
Modified
2024-07-05 17:53
Severity ?
Summary
Cross-site Scripting in djangorestframework
Details
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.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "djangorestframework" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.15.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-21520" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2024-06-26T17:48:09Z", "nvd_published_at": "2024-06-26T05:15:50Z", "severity": "MODERATE" }, "details": "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 \u003cbr\u003e tags.", "id": "GHSA-gw84-84pc-xp82", "modified": "2024-07-05T17:53:50Z", "published": "2024-06-26T06:30:29Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21520" }, { "type": "WEB", "url": "https://github.com/encode/django-rest-framework/pull/9435" }, { "type": "WEB", "url": "https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642" }, { "type": "PACKAGE", "url": "https://github.com/encode/django-rest-framework" }, { "type": "WEB", "url": "https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2" }, { "type": "WEB", "url": "https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Cross-site Scripting in djangorestframework" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.