Security mailing lists by PureSourceCode

CVE-2018-25045

MEDIUM 6.1CVSS 3.1

Django REST framework XSS Vulnerability

Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.

Published
23 Jul 2022
Last modified
7 Jul 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-xqcf-hj92-967mPYSEC-2026-804
Sources
NVDJSONOSV GHSA-xqcf-hj92-967mJSONOSV PYSEC-2026-804JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD django-rest-framework django_rest_framework
cpe:2.3:a:django-rest-framework:django_rest_framework:*:*:*:*:*:*:*:*
< 3.9.1 3.9.1
OSV PyPI django-rest-framework < 3.9.1 3.9.1

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 23 Jul 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Jul 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.