PYSEC-2020-263

    Dashboard / Vulnerabilities / PYSEC-2020-263

    PYSEC-2020-263

    Published: 30 Sept 2020Last Modified: 8 Nov 2023

    Summary:

    Details: A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2. When using the browseable API viewer, Django REST Framework fails to properly escape certain strings that can come from user input. This allows a user who can control those strings to inject malicious <script> tags, leading to a cross-site-scripting (XSS) vulnerability.

    Affected packages

    Package

    Name: djangorestframework

    Purl: pkg:pypi/djangorestframework

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.11.2

    Affected versions

    0.1
    0.1.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2020-263 | CVE-DB