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

Use render html: instead of inline: #82

Closed
cantino opened this issue Apr 23, 2020 · 3 comments
Closed

Use render html: instead of inline: #82

cantino opened this issue Apr 23, 2020 · 3 comments
Labels

Comments

@cantino
Copy link

cantino commented Apr 23, 2020

By using render inline: here you may be introducing a RCE since it will evaluate ERB.

render inline: body, layout: 'rails_email_preview/email'

Is that intended?

@glebm
Copy link
Owner

glebm commented Apr 23, 2020

Good catch!

@glebm glebm added the Bug label Apr 23, 2020
glebm added a commit that referenced this issue Apr 23, 2020
@glebm
Copy link
Owner

glebm commented Apr 23, 2020

@glebm glebm closed this as completed Apr 23, 2020
@cantino
Copy link
Author

cantino commented Apr 23, 2020

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants