CVE-2020-25626
Cross-site Scripting (XSS) in Django REST Framework
6.1
MEDIUM
CVSS 3.1
EPSS 0.71%
Description
A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2. When using the browseable API viewer, Django REST Framework fails to properly escape certain strings that can come from user input. This allows a user who can control those strings to inject malicious <script> tags, leading to a cross-site-scripting (XSS) vulnerability.
How to fix CVE-2020-25626
To remediate CVE-2020-25626, upgrade the affected package to a fixed version below.
- —upgrade to 3.12.1-1 or later
- —upgrade to 3.11.2 or later
- —upgrade to 3.11.2 or later
Is CVE-2020-25626 being exploited?
Low — EPSS is 0.7%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 3.12.1-1
- from 0, < 3.11.2
- from 0, < 3.11.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |