This repository has been archived by the owner on Oct 21, 2022. It is now read-only.
The "name" parameter of the award a badge functionality lacks any input validation #5
Labels
Milestone
threatLevel="Low" type="User input validation"
The "name" parameter of the award a badge functionality lacks any input validation:
Example request:
Response:
It did not result in a successful XSS as the content-type is application/json and not text/html. The contents of the name field seemed not to be requested at other places on the website that use text/html as the content-type and is also not send to the user in the confirmation e-mail.
impact:
Not validating the user input could result in issues such as XSS.
recommendation:
Filter all client-provided input parameters, and escape all output
Make use of a whitelist, and prevent certain characters from being inserted if it's not necessary for the working of the application.
The text was updated successfully, but these errors were encountered: