CVE-2020-25812: Unescaped message used in HTML on Special:Contributions

Published Sep 24, 2020
·
Updated

An issue was discovered in MediaWiki 1.34.x before 1.34.3. On Special:Contributions, the NS filter uses unescaped messages as keys in the option key for an HTMLForm specifier. This is vulnerable to a mild XSS if one of those messages is changed to include raw HTML.

Other sources

An issue was discovered in MediaWiki 1.34.x before 1.34.4. On Special:Contributions, the NS filter uses unescaped messages as keys in the option key for an HTMLForm specifier. This is vulnerable to a mild XSS if one of those messages is changed to include raw HTML.

Unescaped message used in HTML on Special:Contributions

Affected Software

8 affected componentsFixes available
composer/mediawiki/core>=1.34.0, <1.34.3, >=1.34.99, <1.35.0
composer/mediawiki/core>=1.35.0-rc.0<1.35.0
1.35.0
composer/mediawiki/core>=1.34.0<1.34.3
1.34.3
MediaWiki MediaWiki>=1.34.0<1.34.4
Fedoraproject Fedora=33
composer/mediawiki/core>=1.34.0, <1.34.3
1.34.3
composer/mediawiki/core>=1.34.99, <1.35.0
1.35.0
debian/mediawiki
1:1.39.17-1+deb12u21:1.43.9+dfsg-1~deb13u11:1.43.11+dfsg-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/mediawiki/core to a version that resolves this vulnerability.

    Fixed in 1.35.0
  2. Upgrade

    Upgrade composer/mediawiki/core to a version that resolves this vulnerability.

    Fixed in 1.34.3
  3. Upgrade

    Upgrade debian/mediawiki to a version that resolves this vulnerability.

    Fixed in 1:1.39.17-1+deb12u2Fixed in 1:1.43.9+dfsg-1~deb13u1Fixed in 1:1.43.11+dfsg-3

Event History

Sep 24, 2020
Advisory Published
via Packagist·01:38 AM
Data Sourced
via Packagist·01:38 AM
DescriptionSeverityAffected Software
Advisory Published
05:14 PM
Sep 27, 2020
CVE Published
via MITRE·08:25 PM
Data Sourced
via MITRE·08:25 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What configuration change is required for exploitation?

At least one message used by the namespace filter on Special:Contributions must have been changed to include raw HTML. The issue is described as a mild XSS under that condition.

2

Which deployments are identified as affected?

The affected MediaWiki branch is 1.34.x before 1.34.3 and before 1.34.4, as stated in the issue description. The listed software entries include composer/mediawiki/core, Debian mediawiki, MediaWiki, and Fedora.

3

Does exploitation require authentication or user interaction?

The supplied CVSS vector indicates no privileges are required (PR:N) but user interaction is required (UI:R). It also indicates network attack vector and low attack complexity.

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