Name | CVE-2018-25045 |
Description | Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5186-1, ELA-716-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
djangorestframework (PTS) | jessie | 2.4.3-2 | vulnerable |
| stretch (lts), stretch | 3.4.0-2+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 3.9.0-1+deb10u1 | fixed |
| bullseye | 3.12.1-1 | fixed |
| bookworm | 3.14.0-2+deb12u1 | fixed |
| sid, trixie | 3.15.2-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://github.com/encode/django-rest-framework/commit/4bb9a3c48427867ef1e46f7dee945a4c25a4f9b8 (3.9.1)