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

bugfix/209-additional-sanitization #511

Merged
merged 3 commits into from
Apr 9, 2024

Conversation

jszuminski
Copy link
Contributor

Fixed #209, all the SVG strings are now sanitized with DOMPurify (https://www.npmjs.com/package/dompurify) so we're escaping the unwanted <script> tags.

@jszuminski jszuminski added the bug label Apr 8, 2024
@jszuminski jszuminski self-assigned this Apr 8, 2024
Copy link
Contributor

@PaulDalek PaulDalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

@jszuminski jszuminski requested a review from cvasseng April 9, 2024 15:28
@PaulDalek PaulDalek merged commit 52c03f1 into master Apr 9, 2024
2 checks passed
@PaulDalek PaulDalek deleted the bugfix/209-additional-sanitization branch April 9, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XSS vulnerability when exporting SVG
2 participants