CVE-2020-25626
MEDIUM6.1EPSS 0.71%Cross-site Scripting (XSS) in Django REST Framework
發布日:2021/3/19修改日:2026/4/28
也稱為:DEBIAN-CVE-2020-25626
描述
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.
受影響套件(3)
- Debian/djangorestframeworkfrom 0, < 3.12.1-1
- PyPI/djangorestframeworkfrom 0, < 3.11.2
- PyPI/djangorestframeworkfrom 0, < 3.11.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |
參考連結(9)
- ADVISORYhttps://github.com/advisories/GHSA-fx83-3ph3-9j2q
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-25626
- ADVISORYhttps://security.netapp.com/advisory/ntap-20201016-0003/
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-25626
- PATCHhttps://github.com/encode/django-rest-framework
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1878635
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/djangorestframework/PYSEC-2020-263.yaml
- WEBhttps://security.netapp.com/advisory/ntap-20201016-0003
- WEBhttps://www.debian.org/security/2022/dsa-5186