CVE-2012-4377: XSS

Published Aug 31, 2012
·
Updated

A stored cross-site scripting (XSS) flaw was found in the way MediaWiki, a wiki engine, sanitized comments when a File::link tag to an non-existent image was rendered. A remote attacker could provide a specially-crafted URL that, when visited would lead to arbitrary HTML or web script injection.

References: [1] http://www.gossamer-threads.com/lists/wiki/mediawiki/295767

Upstream bug: [2] https://bugzilla.wikimedia.org/showbug.cgi?id=39700

Upstream patch against the 1.19 version: [3] https://bugzilla.wikimedia.org/showbug.cgi?id=39700#c11

Upstream patch against the 1.18 version: [4] https://bugzilla.wikimedia.org/showbug.cgi?id=39700#c12

Other sources

Cross-site scripting (XSS) vulnerability in MediaWiki before 1.18.5 and 1.19.x before 1.19.2 allows remote attackers to inject arbitrary web script or HTML via a File: link to a nonexistent image.

Affected Software

6 affected componentsFixes available
debian/mediawiki
1:1.31.16-1+deb10u21:1.31.16-1+deb10u61:1.35.11-1~deb11u11:1.35.13-1~deb11u11:1.39.4-1~deb12u11:1.39.5-1~deb12u11:1.39.5-1
MediaWiki MediaWiki<=1.18.4
MediaWiki MediaWiki=1.19.0
MediaWiki MediaWiki=1.19.1
redhat/mediawiki<1.19.2
1.19.2
redhat/mediawiki<1.18.5
1.18.5

Event History

Aug 31, 2012
Data Sourced
08:30 AM
SeverityAffected Software
Data Sourced
via Red Hat·12:46 PM
DescriptionSeverityAffected Software
Oct 26, 2017
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2012-4377?

CVE-2012-4377 is classified as a medium severity vulnerability affecting multiple versions of MediaWiki.

2

How do I fix CVE-2012-4377?

To fix CVE-2012-4377, upgrade MediaWiki to version 1.18.5, 1.19.2, or a later version.

3

What versions of MediaWiki are affected by CVE-2012-4377?

CVE-2012-4377 affects MediaWiki versions earlier than 1.18.5 and 1.19.x before 1.19.2.

4

Can CVE-2012-4377 be exploited remotely?

Yes, CVE-2012-4377 can be exploited remotely by attackers to inject arbitrary web scripts or HTML.

5

What types of attacks are possible due to CVE-2012-4377?

CVE-2012-4377 allows for cross-site scripting (XSS) attacks, potentially compromising user data and site integrity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203