Comment Comment by diggan Since marked doesn't do it for you, make sure you sanitize the user input (the text on the user profiles) before rendering it to visitors.Some libraries for doing that with good defaults:- https://github.com/cure53/DOMPurify- https://github.com/apostrophecms/sanitize-html- https://github.com/bevacqua/insane(right now your site looks vulnerable to XSS) parent diggan 2 years ago
Some libraries for doing that with good defaults:
- https://github.com/cure53/DOMPurify
- https://github.com/apostrophecms/sanitize-html
- https://github.com/bevacqua/insane
(right now your site looks vulnerable to XSS)