Cross-site Scripting (XSS) Affecting djangorestframework package, versions <3.10.2-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.07% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-DJANGORESTFRAMEWORK-2959828
  • published24 Jul 2022
  • disclosed23 Jul 2022

Introduced: 23 Jul 2022

CVE-2018-25045  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:12 djangorestframework to version 3.10.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream djangorestframework package and not the djangorestframework package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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

CVSS Scores

version 3.1