Skip to content

Vulnerability Arbitrary Image Upload + XSS Via Image Name #151

@jeagercoder

Description

@jeagercoder

https://github.com/pylixm/django-mdeditor/blob/master/mdeditor/views.py

1.no authentication check so anyone can upload image file
2.Name of uploaded file is not cleaned so it is vulnerable to XSS attack, one can upload file with name like: "><script>alert(1)</script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions