Today"s rich text editors all have xss injection vulnerabilities. I would like to know how to prevent xss injection? The markdown editor ignores
Today"s rich text editors all have xss injection vulnerabilities. I would like to know how to prevent xss injection? The markdown editor ignores
try this htmlpurifier
you need this awesome XSS Filter module: http://jsxss.com/zh/index.html
online demo: http://jsxss.com/zh/try.html
simple usage:
introduce the file http://rawgit.com/leizongmin/js-xss/master/dist/xss.js
<h1></h1><script>alert('sadas')</scrtip>
Previous: Website prevents XSS problems
Next: Mini Program's text component, how to remove the default upper and inner margins?