Skip to content

Stored XSS in text fields #583

Description

@icyphox

There’s a stored XSS bug in the comments section under each proposal, allowing the attacker to run malicious JS on the client.

Steps to reproduce

  1. Hit "add a comment", found under any proposal
  2. Enter <script>alert(1)</script> in the text field
  3. An alert-box should pop up with 1 in it

Relevant screenshot

image

This was tested on the latest commit (d3744d4) on a local development server.

Note: I haven't tested this on production.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions