Skip to content

Add escaping for bad platform string.#138

Open
flohdot wants to merge 1 commit into
GitbookIO:masterfrom
flohdot:master
Open

Add escaping for bad platform string.#138
flohdot wants to merge 1 commit into
GitbookIO:masterfrom
flohdot:master

Conversation

@flohdot

@flohdot flohdot commented Apr 4, 2017

Copy link
Copy Markdown

Mitigates XSS on bad download URLs such as https://YOUR.NUTS.URL/download/version/2.0.0/%3Cimg%20src=x%20onerror=alert(1)%3E
and https://YOUR.NUTS.URL/download/channel/alpha/%3Cimg%20src=x%20onerror=alert(1)%3E

I don't see anywhere I could just insert a test for this in the existing suite.

@wallymathieu

Copy link
Copy Markdown

Thanks!

@loprima-l

Copy link
Copy Markdown

Hi, I merged the project to a new repo to start maintain it, I would be glad if you can put your pull request here : https://github.com/loprima-l/nuts-2

rastiqdev added a commit to AnimeoTV/updateServer that referenced this pull request Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants