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

Warn users that markdown is not sanitized by default in README.md #331

Closed
juspky opened this issue Jan 5, 2022 · 2 comments
Closed

Warn users that markdown is not sanitized by default in README.md #331

juspky opened this issue Jan 5, 2022 · 2 comments

Comments

@juspky
Copy link
Contributor

juspky commented Jan 5, 2022

Hi,

I think we should bring more attention to the fact that users are making their application vulnerable to XSS if they don't add rehype-sanitize as a plugin.
Maybe include the example at https://github.com/uiwjs/react-md-editor/blob/master/website/Exmaple.tsx in README.md

@jaywcjlove
Copy link
Member

Welcome to submit a PR.
@juspky

@juspky
Copy link
Contributor Author

juspky commented Jan 6, 2022

🤝

@juspky juspky closed this as completed Jan 6, 2022
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