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.

PackageEcosystemFixed in
django-rest-frameworkPyPI3.9.1
django_rest_frameworkdjango-rest-framework3.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

VendorProductVersions
n/an/an/a
n/an/a*
PyPIdjango-rest-framework0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›