-
Notifications
You must be signed in to change notification settings - Fork 881
Open
Labels
confirmedConfirmed bug report or approved feature request.Confirmed bug report or approved feature request.docsRelated to the project documentation.Related to the project documentation.
Description
Like many other Markdown processors, Python-Markdown does not sanitize its output, meaning that malicious code can be embedded within markdown documents.
# Some markdown document
<script>alert("Evil laughter")</script>
If this isn't made clear to users, there is a risk that they will unintentionally create opportunities for XSS attacks. It would be worthwhile documenting the lack of sanitization, and perhaps recommend an HTML sanitization library, such as bleach.
paolodina
Metadata
Metadata
Assignees
Labels
confirmedConfirmed bug report or approved feature request.Confirmed bug report or approved feature request.docsRelated to the project documentation.Related to the project documentation.