Lucene search

K
githubGitHub Advisory DatabaseGHSA-GW84-84PC-XP82
HistoryJun 26, 2024 - 6:30 a.m.

Cross-site Scripting in djangorestframework

2024-06-2606:30:29
CWE-79
GitHub Advisory Database
github.com
1
djangorestframework
cross-site scripting
xss
input sanitization
break_long_headers
template filter

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

6.3 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

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.

Affected configurations

Vulners
Node
djangorestframeworkRange<3.15.2
CPENameOperatorVersion
djangorestframeworklt3.15.2

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

6.3 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%