-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User input is not sanitize before making a request resulting to send all contents of db.json file. #128
Comments
Yikes! This is a huge security issue. Do you want to be assigned to this @reny-pacheco ? |
Yes, I like to work on this. Please assign to me. |
Sure thing. Assigned! |
Hi @Njong392 , I already created a PR for this and its ready for review, Thanks. 😃 |
Hello @Njong392 , @mathiasayivor , in relation to this issue, I found out that special characters in abbreviation is encoded when creating its Example: Question: Is it advisable to allow contributors to add special characters to abbreviation? |
Yes, we definitely have to encode abbreviations with special characters, since those characters are not allowed as file names. And yes, developers can encode abbreviations, but they must include mapping for the encoded version in the Also, thanks for pointing this out, as I thought searching for encoded abbreviations was added after the last breaking change (#64) was merged |
Based on my understanding, fetching of abbreviations goes directly to Also thanks for responding to my questions. 😃 |
The |
Description
User input is not sanitize before making a request.
Adding
../db
as form input results to send the whole content ofdb.json
file.I suggest to sanitize user input before sending a request.
Screenshots
Additional information
No response
The text was updated successfully, but these errors were encountered: