Perlmonks specific? Not exactly.
Cookies specific? Yes.
Browser specific? To the extent that JS is.

JS, as you may or may not know, can read cookies. Cookies generally are safe from prying eyes because they can only be sent back to the originating domain, in this case perlmonks.org. However, the JS on home nodes comes from the same domain and therefore has access to all cookies set anywhere else on perlmonks.org. That includes your username/password cookie. An unscrupulous user can insert JS code that, for instance, grabs that cookie and /msgs or e-mails it to him. He could then set that cookie in his own browser, thus logging in as you, and post / chat / change settings or passwords with your permissions, and, to the automated parts of the site, indistinguishably from you.

This is obviously a security risk. There has been much discussion about it before. Currently the only known way to prevent this is to turn off client-side scripting.


In reply to Re: javascript perlmonks password insecurity by premchai21
in thread javascript perlmonks password insecurity by Ntav

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.