MediaWiki CSS Comments XSS

medium Nessus Plugin ID 51998


The remote web server hosts a version of MediaWiki vulnerable to a cross-site scripting attack.


There is a cross-site scripting vulnerability in this installation of MediaWiki that may allow an attacker to execute arbitrary script code in the browser of an unsuspecting user. Such script code could steal authentication credentials and be used to launch other attacks.

This version of MediaWiki also contains a local file inclusion vulnerability that is exploitable when running Microsoft Windows, but this plugin did not test for that vulnerability.


Upgrade to MediaWiki 1.16.2 or later.

See Also

Plugin Details

Severity: Medium

ID: 51998

File Name: mediawiki_1_16_2.nasl

Version: 1.12

Type: remote

Published: 2/16/2011

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information


Risk Factor: Low

Score: 3.0


Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Vulnerability Information

CPE: cpe:/a:mediawiki:mediawiki

Required KB Items: www/PHP, installed_sw/MediaWiki

Exploit Ease: No exploit is required

Patch Publication Date: 2/1/2011

Vulnerability Publication Date: 2/1/2011

Reference Information

CVE: CVE-2011-0047

BID: 46108

CWE: 20, 442, 629, 711, 712, 722, 725, 74, 750, 751, 79, 800, 801, 809, 811, 864, 900, 928, 931, 990

SECUNIA: 43142