Skip to content
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

[A3] fix template injection #621

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ramon5
Copy link

@Ramon5 Ramon5 commented Sep 21, 2023

This solution refers to which of the apps?

[A3] # - sstype

What did you do to mitigate the vulnerability?

I refactored get method in MainHandler, first got name parameter forcing value escape, after i used 'render' method for pass variables with context format to template and in template i used jinja sintax to render values of the context

Images are not necessary but are greatly appreciated! 📸

Did you test your changes? What commands did you run?

I used parameters describe in read me, passing values with query params and trying execute commands

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.

None yet

1 participant