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

Remove malicious code from svg content #296

Open
mantri-mounika opened this issue Dec 14, 2023 · 1 comment
Open

Remove malicious code from svg content #296

mantri-mounika opened this issue Dec 14, 2023 · 1 comment

Comments

@mantri-mounika
Copy link

Hi,
I am trying to upload a svg image to server. Before uploading want to validate the content of svg, if there are any malicious code that can hamper the application like having script tags inside svg content.
Want to sanitize the content of svg like https://www.npmjs.com/package/dompurify, which is client side library and want to have similar kind on server side also

@csware
Copy link
Contributor

csware commented Jan 29, 2024

So, what is the concrete issue?

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