<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200506-12">
  <title>MediaWiki: Cross-site scripting vulnerability</title>
  <synopsis>
    MediaWiki is vulnerable to a cross-site scripting attack that could allow
    arbitrary scripting code execution.
  </synopsis>
  <product type="ebuild">mediawiki</product>
  <announced>2005-06-13</announced>
  <revised count="01">2005-06-13</revised>
  <bug>95255</bug>
  <access>remote</access>
  <affected>
    <package name="www-apps/mediawiki" auto="yes" arch="*">
      <unaffected range="ge">1.4.5</unaffected>
      <unaffected range="rge">1.3.13</unaffected>
      <vulnerable range="lt">1.4.5</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    MediaWiki is a collaborative editing software, used by big
    projects like Wikipedia.
    </p>
  </background>
  <description>
    <p>
    MediaWiki incorrectly handles page template inclusions, rendering
    it vulnerable to cross-site scripting attacks.
    </p>
  </description>
  <impact type="low">
    <p>
    A remote attacker could exploit this vulnerability to inject
    malicious script code that will be executed in a user's browser session
    in the context of the vulnerable site.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All MediaWiki users should upgrade to the latest available
    versions:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose www-apps/mediawiki</code>
  </resolution>
  <references>
    <uri link="https://sourceforge.net/project/shownotes.php?release_id=332231">MediaWiki 1.4.5 Release Notes</uri>
  </references>
  <metadata tag="requester" timestamp="2005-06-10T11:34:01Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2005-06-10T11:34:36Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2005-06-11T12:24:08Z">
    DerCorny
  </metadata>
</glsa>
