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

[Security] Prevent templates for executing ruby commands #299

Open
bibstha opened this issue Mar 11, 2018 · 1 comment
Open

[Security] Prevent templates for executing ruby commands #299

bibstha opened this issue Mar 11, 2018 · 1 comment

Comments

@bibstha
Copy link

bibstha commented Mar 11, 2018

Since the templates are basically erb files, one can edit it and add Ruby commands that gets executed in Heroku shell.

Is there a better way to sanitize the erb output? Maybe use something like https://github.com/shopify/liquid

@peillis
Copy link
Member

peillis commented Mar 12, 2018

you're right. PRs are welcome :)
Thank you!

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

No branches or pull requests

2 participants