Skip to content

fix malicious HTML injection

Compare
Choose a tag to compare
@posativ posativ released this 12 Jan 13:57
· 1596 commits to master since this release

This bugfix release now sanitizes HTML tags based on a whitelist (also prevents auto-link to "unsafe" web protocols and images) as intended.

Fortunately because of Sundown's typography support, it did not affect JS injection, but custom style tags and iframes.

PS: thanks to the anonymous submitter of a comment including a style tag for 24pt, red font ;-)