GHSA-fx83-3ph3-9j2q

    Dashboard / Vulnerabilities / GHSA-fx83-3ph3-9j2q

    GHSA-fx83-3ph3-9j2q

    Published: 19 Mar 2021Last Modified: 20 Sept 2024

    Summary: Cross-site Scripting (XSS) in Django REST Framework

    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
    GHSA-fx83-3ph3-9j2q | CVE-DB