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

Mailcatcher executes Javascript in body of the email #442

Closed
S-DICKSON opened this issue Feb 3, 2021 · 4 comments
Closed

Mailcatcher executes Javascript in body of the email #442

S-DICKSON opened this issue Feb 3, 2021 · 4 comments

Comments

@S-DICKSON
Copy link

Hi, when email content includes JS it executes the script when selecting the tab Plain Text when viewing email.

Example Email Body
<script>alert("YOu juST beEn hackED ( ͡° ͜ʖ ͡°) ")</script>

Screenshot
image

@j-dohnalek
Copy link

This could be tried a bit different, and perhaps throught the staging environment which is exactly the same as production but different database. This would allow to sent email with JavaScript for testing.

@j-dohnalek
Copy link

@sj26
Copy link
Owner

sj26 commented Feb 4, 2021

Yeah the plain text tab doesn't do a good job escaping html tags, since a contributed change a while back to autolink urls in text.

@sj26
Copy link
Owner

sj26 commented Feb 22, 2021

This is tracked in a new issue #446, please follow there.

@sj26 sj26 closed this as completed Feb 22, 2021
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

3 participants