Users' home nodes should have filtered HTML (unconditionally) so that much worse cross-site scripting attacks are not possible. I find the site allowing this to be done is a more serious problem than this mildly annoying (the CB postings from buttons have been more annoying so far, in my experience) use of it.

The (poorly named) "really paranoid" setting in user settings filters home-node HTML much like is already done everywhere else on PerlMonks. This is the only way to eliminate the potential for cross-site scripting attacks, which can be destructive but haven't been yet.

There are a couple of imperfections in the current implementation of home-node HTML filtering that will eventually be addressed (and will then also prevent a few javascript exploits that are still possible outside of home nodes).

This filtering just needs to become mandatory. Supporting cross-site scripting attacks just doesn't make sense to me. I'm thankful that demerphq put up home node HTML filtering and I now mostly feel safe visiting home nodes.

Then we won't have to "deal with" the possibility that one person might register at PerlMonks who is both anti-social and knows a tiny bit of JavaScript, no matter how remote some would like to think this possibility should be. (Not that I have any proof that one or more people haven't already been silently collecting PerlMonks passwords waiting for the right moment to exploit them for some mayhem.)

- tye        


In reply to Re^2: Has a line been crossed by this user (filtering) by tye
in thread Has a line been crossed by this user by PhilHibbs

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.