
CVE catalog
CVE-2018-25045
djangorestframework: CVE-2018-25045
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.78% · Oct 25, 2026
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | djangorestframework | sid | 3.18.3+ds1-1 | fixed |
| Debian | djangorestframework | forky | 3.18.3+ds1-1 | fixed |
| Debian | djangorestframework | trixie | 3.16.0-1 | fixed |
| Debian | djangorestframework | bookworm | 3.14.0-2+deb12u1 | fixed |
| Ubuntu | djangorestframework | 16.04 | 2.4.3-2 | vulnerable |
| Ubuntu | djangorestframework | 16.04 | 3.3.1-1 | vulnerable |
| Ubuntu | djangorestframework | 16.04 | 3.3.2-1 | vulnerable |
| Ubuntu | djangorestframework | 16.04 | 3.3.2-2 | vulnerable |
| Ubuntu | djangorestframework | 18.04 | 3.4.0-2 | vulnerable |
| Ubuntu | djangorestframework | 18.04 | 3.7.7-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | djangorestframework | source | sid | 3.10.2-1 | not yet assigned | Not reported | Not reported |
| Debian | djangorestframework | source | forky | 3.10.2-1 | not yet assigned | Not reported | Not reported |
| Debian | djangorestframework | source | trixie | 3.10.2-1 | not yet assigned | Not reported | Not reported |
| Debian | djangorestframework | source | bookworm | 3.10.2-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-djangorestframework]Fixed
Source package: [djangorestframework]
Details (2)
3.14.0-2+deb12u1· all · bookwormFixed · Fixed:
3.10.2-1dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12
3.14.0-2+deb12u1· all · bookwormFixed · Fixed:
3.10.2-1dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12
Source package: [djangorestframework]
Details (2)
3.14.0-2+deb12u1· all · bookwormFixed · Fixed:
3.10.2-1dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12
3.14.0-2+deb12u1· all · bookwormFixed · Fixed:
3.10.2-1dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12
[Debian 13 (Trixie)]
- [python3-djangorestframework]Fixed
Source package: [djangorestframework]
Details (2)
3.16.0-1· all · trixieFixed · Fixed:
3.10.2-1dsa · djangorestframework · debian · 13
3.16.0-1· all · trixieFixed · Fixed:
3.10.2-1dsa · djangorestframework · debian · 13
Source package: [djangorestframework]
Details (2)
3.16.0-1· all · trixieFixed · Fixed:
3.10.2-1dsa · djangorestframework · debian · 13
3.16.0-1· all · trixieFixed · Fixed:
3.10.2-1dsa · djangorestframework · debian · 13
Observed: