1 This plugin is enabled by default. It sanitizes the html on pages it renders
2 to avoid XSS attacks and the like.
4 It excludes all html tags and attributes except for those that are
5 whitelisted using the same lists as used by Mark Pilgrim's Universal Feed
6 Parser, documented at <http://feedparser.org/docs/html-sanitization.html>.
7 Notably it strips `style`, `link`, and the `style` attribute.
9 It uses the HTML::Scrubber perl module to perform its html
10 sanitisation, and this perl module also deals with various entity encoding
13 While I believe that this makes ikiwiki as resistant to malicious html
14 content as anything else on the web, I cannot guarantee that it will
15 actually protect every user of every browser from every browser security
16 hole, badly designed feature, etc. I can provide NO WARRANTY, like it says
17 in ikiwiki's [GPL](GPL) license.
19 The web's security model is *fundamentally broken*; ikiwiki's html
20 sanitisation is only a patch on the underlying gaping hole that is your web
25 Some examples of embedded javascript that won't be let through when this
28 * <span style="background: url(javascript:window.location='http://example.org/')">test</span>
29 * <span style="any: expression(window.location='http://example.org/')">test</span>
30 * <span style="any: expression(window.location='http://example.org/')">test</span>
32 [[tag type/html type/core]]