PYSEC-2026-804

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/django-rest-framework/PYSEC-2026-804.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-804
Aliases
Published
2026-07-06T08:03:31Z
Modified
2026-07-07T11:45:45Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Django REST framework XSS Vulnerability
Details

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

References

Affected packages

PyPI / django-rest-framework

Package

Name
django-rest-framework
View open source insights on deps.dev
Purl
pkg:pypi/django-rest-framework

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.9.1

Affected versions

0.*
0.1.0

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/django-rest-framework/PYSEC-2026-804.yaml"