CVE-2007-4828: XSS

Published Sep 12, 2007
·
Updated

Cross-site scripting (XSS) vulnerability in the API pretty-printing mode in MediaWiki 1.8.0 through 1.8.4, 1.9.0 through 1.9.3, 1.10.0 through 1.10.1, and the 1.11 development versions before 1.11.0 allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.

Other sources

Secunia published security advisory for mediawiki:

http://secunia.com/advisories/26772/

A vulnerability has been reported in MediaWiki, which can be exploited by malicious people to conduct cross-site scripting attacks.

Input passed to unspecified parameters in the API pretty-printing mode is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

Successful exploitation requires that the API interface is enabled.

The vulnerability is reported in the following versions: 1.11 <= 1.11.0rc1 1.10 <= 1.10.1 1.9 <= 1.9.3 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on)

Solution: Update to version 1.11.0, 1.10.2, 1.9.4, or 1.8.5.

Versions currently in Fedora falls into "affected" range, even though there is following note in changelog for release 1.9.3-34:

- Update to 1.9.4.

It only seems to be typo. If there's any other reason why Fedora packages are not affected, feel free to close this bug with appropriate comment.

Red Hat

Affected Software

13 affected componentsFixes available
redhat/1.9.4<35.
35.
MediaWiki MediaWiki=1.8.0
MediaWiki MediaWiki=1.8.1
MediaWiki MediaWiki=1.8.2
MediaWiki MediaWiki=1.8.3
MediaWiki MediaWiki=1.8.4
MediaWiki MediaWiki=1.9.0
MediaWiki MediaWiki=1.9.1
MediaWiki MediaWiki=1.9.2
MediaWiki MediaWiki=1.9.3
MediaWiki MediaWiki=1.10.0
MediaWiki MediaWiki=1.10.1
MediaWiki MediaWiki=1.11_development

Event History

Sep 12, 2007
CVE Published
07:17 PM
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description

Frequently Asked Questions

1

Is manual patching required for CVE-2007-4828?

No, manual patching is not required; the best remediation is to upgrade to a patched version of MediaWiki.

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