GHSA-xqcf-hj92-967m

Suggest an improvement
Source
https://github.com/advisories/GHSA-xqcf-hj92-967m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-xqcf-hj92-967m/GHSA-xqcf-hj92-967m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xqcf-hj92-967m
Aliases
Published
2022-07-24T00:00:33Z
Modified
2024-02-16T08:14:34.393460Z
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.

Database specific
{
    "nvd_published_at": "2022-07-23T02:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-25T20:00:40Z"
}
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
0Unknown introduced version / All previous versions are affected
Fixed
3.9.1

Affected versions

0.*

0.1.0