MEDIUM
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping
Published Jul 23, 2022
6.1
MEDIUMCVSS 3.1
EPSS 0.76%
Description
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
Affected products
No data.
- < 3.9.1
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
6.1 MEDIUM NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Changed
Confidentiality Impact Low
Integrity Impact Low
Availability Impact None
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
0.76% 0.00757
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
EPSS probability 0.00757
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.76% (0.00757) | 53.50th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.58% (0.00576) | 42.75th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.09% (0.00089) | 23.30th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.07% (0.00071) | 32.89th | v3 (v2023.03.01) |
| Jun 22, 2024 | 0.07% (0.00071) | 30.97th | v3 (v2023.03.01) |
| Jan 2, 2024 | 0.07% (0.00070) | 28.95th | v3 (v2023.03.01) |
| Aug 24, 2023 | 0.06% (0.00063) | 25.18th | v3 (v2023.03.01) |
| Jun 22, 2023 | 0.06% (0.00056) | 21.36th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.05% (0.00052) | 18.43th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00954) | 36.37th | v2 (v2022.01.01) |
| Feb 22, 2023 | 0.95% (0.00954) | 36.13th | v2 (v2022.01.01) |
| Jul 29, 2022 | 0.95% (0.00954) | 34.11th | v2 (v2022.01.01) |
| Jul 23, 2022 | 0.89% (0.00890) | 28.14th | v2 (v2022.01.01) |
Weaknesses (1)
References (5)
- https://github.com/advisories/GHSA-xqcf-hj92-967m Advisory
- https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 x_refsource_MISCPatchThird Party Advisory
- https://github.com/encode/django-rest-framework/pull/6191 x_refsource_MISCThird Party Advisory
- https://github.com/encode/django-rest-framework/pull/6330 x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-25045
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-xqcf-hj92-967m | Advisory | |
| https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/encode/django-rest-framework/pull/6191 | x_refsource_MISCThird Party Advisory | |
| https://github.com/encode/django-rest-framework/pull/6330 | x_refsource_MISCThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-25045 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Jul 23, 2022
Updated Aug 5, 2024
Reserved Jul 23, 2022
Link CVE-2018-25045
CISA Vulnrichment
GHSA-XQCF-HJ92-967M Updated n/a