CVE catalog

CVE-2018-25045

djangorestframework: CVE-2018-25045

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debiandjangorestframeworksid3.18.3+ds1-1fixed
Debiandjangorestframeworkforky3.18.3+ds1-1fixed
Debiandjangorestframeworktrixie3.16.0-1fixed
Debiandjangorestframeworkbookworm3.14.0-2+deb12u1fixed
Ubuntudjangorestframework16.042.4.3-2vulnerable
Ubuntudjangorestframework16.043.3.1-1vulnerable
Ubuntudjangorestframework16.043.3.2-1vulnerable
Ubuntudjangorestframework16.043.3.2-2vulnerable
Ubuntudjangorestframework18.043.4.0-2vulnerable
Ubuntudjangorestframework18.043.7.7-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiandjangorestframeworksourcesid3.10.2-1not yet assignedNot reportedNot reported
Debiandjangorestframeworksourceforky3.10.2-1not yet assignedNot reportedNot reported
Debiandjangorestframeworksourcetrixie3.10.2-1not yet assignedNot reportedNot reported
Debiandjangorestframeworksourcebookworm3.10.2-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [djangorestframework]

    Details (2)
    • 3.14.0-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.10.2-1

      dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12

    • 3.14.0-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.10.2-1

      dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12

  • Source package: [djangorestframework]

    Details (2)
    • 3.14.0-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.10.2-1

      dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12

    • 3.14.0-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.10.2-1

      dsa · djangorestframework · debian · bookworm; dsa · djangorestframework · debian · 12

[Debian 13 (Trixie)]

  • Source package: [djangorestframework]

    Details (2)
    • 3.16.0-1 · all · trixie

      Fixed · Fixed: 3.10.2-1

      dsa · djangorestframework · debian · 13

    • 3.16.0-1 · all · trixie

      Fixed · Fixed: 3.10.2-1

      dsa · djangorestframework · debian · 13

  • Source package: [djangorestframework]

    Details (2)
    • 3.16.0-1 · all · trixie

      Fixed · Fixed: 3.10.2-1

      dsa · djangorestframework · debian · 13

    • 3.16.0-1 · all · trixie

      Fixed · Fixed: 3.10.2-1

      dsa · djangorestframework · debian · 13

Observed:

References