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

Fixes a broken PDF export and an XSS vulnerability when using multiple script tags in a Markdown code block #62

Conversation

jotbe
Copy link

@jotbe jotbe commented Oct 3, 2019

Fixes #61 by escaping all ocurrences of </script>, not just the first.

@sinedied
Copy link
Owner

sinedied commented Oct 4, 2019

Oops, thanks for the fix 👍

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.

Multiple script tags in Markdown code allow XSS and break PDF export
2 participants