Skip to content
This repository was archived by the owner on Jan 29, 2019. It is now read-only.
This repository was archived by the owner on Jan 29, 2019. It is now read-only.

Potential for XSS #1

@edent

Description

@edent

Performing a search for something like <script> alert("hi");</script> will cause that JavaScript to be injected into the page.

I saw this happen on the CAB site

cab xss example

It would probably be worth ensuring all user input is sanitised before being added to the page. Perhaps around https://github.com/edds/display-screen/blob/master/public/javascripts/search.js#L100

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