Products
djangorestframework
- before 3.15.2
Source
report@snyk.io
Tags
CVE-2024-21520 details
Published : June 26, 2024, 5:15 a.m.
Last Modified : June 26, 2024, 12:44 p.m.
Last Modified : June 26, 2024, 12:44 p.m.
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.
CVSS Score
1 | 2 | 3 | 4 | 5 | 6.1 | 7 | 8 | 9 | 10 |
---|
Weakness
Weakness | Name | Description |
---|---|---|
CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
CVSS Data
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Base Score
6.1
Exploitability Score
2.8
Impact Score
2.7
Base Severity
MEDIUM
Vector String : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
URL | Source |
---|---|
https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642 | report@snyk.io |
https://github.com/encode/django-rest-framework/pull/9435 | report@snyk.io |
https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137 | report@snyk.io |
This website uses the NVD API, but is not approved or certified by it.