ghsa-fx83-3ph3-9j2q
Vulnerability from github
Published
2021-03-19 21:32
Modified
2024-09-20 14:56
Severity ?
6.1 (Medium) - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
5.3 (Medium) - 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
5.3 (Medium) - 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
VLAI Severity ?
Summary
Cross-site Scripting (XSS) in Django REST Framework
Details
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 tags, leading to a cross-site-scripting (XSS) vulnerability.
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "djangorestframework" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.11.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2020-25626" ], "database_specific": { "cwe_ids": [ "CWE-20", "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2021-03-12T23:51:34Z", "nvd_published_at": "2020-09-30T20:15:00Z", "severity": "MODERATE" }, "details": "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 \u003cscript\u003e tags, leading to a cross-site-scripting (XSS) vulnerability.", "id": "GHSA-fx83-3ph3-9j2q", "modified": "2024-09-20T14:56:47Z", "published": "2021-03-19T21:32:47Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25626" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1878635" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-fx83-3ph3-9j2q" }, { "type": "PACKAGE", "url": "https://github.com/encode/django-rest-framework" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/djangorestframework/PYSEC-2020-263.yaml" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20201016-0003" }, { "type": "WEB", "url": "https://www.debian.org/security/2022/dsa-5186" } ], "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" }, { "score": "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", "type": "CVSS_V4" } ], "summary": "Cross-site Scripting (XSS) in Django REST Framework" }
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.
Loading…
Loading…