VDB
CVE-2018-25045
CVE-2018-25045
PUBLISHED
CVSS 6.099999904632568 MEDIUM
Django REST framework XSS Vulnerability
Reported by mitre · Published July 23, 2022
django-rest-framework is fixed in 3.9.1 (PyPI)
Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| django-rest-framework | PyPI | 3.9.1 |
| django_rest_framework | django-rest-framework | 3.9.1 |
Risk scores
CVSS 3.1
6.099999904632568
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | django-rest-framework | 0 |
Timeline
- Jul 23, 2022 EPSS Score (30 in total, the first dated here)
- Jul 23, 2022 CVE Published
- Mar 10, 2026 Security Advisory
- Jun 17, 2026 CVE Updated
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-25045
vulnetix vdb fixes CVE-2018-25045
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-25045/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2018-25045 advisory
- https://github.com/advisories/GHSA-xqcf-hj92-967m advisory