Python-Markdown-Editor
Python-Markdown-Editor copied to clipboard
feat: bundle dompurify to sanitize malicious HTML
Currently the markdown-editor is vulnerable to XSS. This PR introduces DOMPurify (https://github.com/cure53/DOMPurify) which cleans potential malicious JavaScript.
Codecov Report
Merging #22 into master will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #22 +/- ##
=======================================
Coverage 21.46% 21.46%
=======================================
Files 3 3
Lines 219 219
=======================================
Hits 47 47
Misses 172 172
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 5ba38e1...a728b78. Read the comment docs.