MediaWiki: Cross-site scripting vulnerability — GLSA 200507-18

MediaWiki is vulnerable to a cross-site scripting attack that could allow arbitrary JavaScript code execution.

Affected packages

www-apps/mediawiki on all architectures
Affected versions < 1.4.6
Unaffected versions >= 1.4.6

Background

MediaWiki is a collaborative editing software, used by big projects like Wikipedia.

Description

MediaWiki fails to escape a parameter in the page move template correctly.

Impact

By enticing a user to visit a specially crafted URL, a remote attacker could exploit this vulnerability to inject malicious JavaScript code that will be executed in a user's browser session in the context of the vulnerable site.

Workaround

There is no known workaround at this time.

Resolution

All MediaWiki users should upgrade to the latest available version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=www-apps/mediawiki-1.4.7"

References

Release date
July 20, 2005

Latest revision
August 11, 2005: 03

Severity
low

Exploitable
remote

Bugzilla entries