How to prevent xss injection from UEditor

Today"s rich text editors all have xss injection vulnerabilities. I would like to know how to prevent xss injection? The markdown editor ignores

Mar.03,2021

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

into the page
<h1></h1>
<script>alert('sadas')</scrtip>
Menu