Skip to content
OpenAdvisories
Unscored CVE-2022-34911 EUVD-2022-37815GHSA-jjr9-g78r-wg8r

An issue was discovered in MediaWiki before 1.35.7, 1.36.x and 1.37.x before 1.37.3, and 1.38.x before 1.38.1. XSS can occur in configurati…

Published Jul 2, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

An issue was discovered in MediaWiki before 1.35.7, 1.36.x and 1.37.x before 1.37.3, and 1.38.x before 1.38.1. XSS can occur in configurations that allow a JavaScript payload in a username. After account creation, when it sets the page title to "Welcome" followed by the username, the username is not escaped: SpecialCreateAccount::successfulAction() calls ::showSuccessPage() with a message as second parameter, and OutputPage::setPageTitle() uses text().

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mediawiki 1:1.35.7-1 —
Debian 13 mediawiki 1:1.35.7-1 —
Debian 12 mediawiki 1:1.35.7-1 —
Debian 11 mediawiki 1:1.35.8-1~deb11u1 DSA-5246-1
Debian 10 mediawiki 1:1.31.16-1+deb10u3 DLA-3117-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 mediawiki No fix yet —
Ubuntu 26.04 LTS mediawiki No fix yet —
Ubuntu 25.10 mediawiki No fix yet —
Ubuntu 18.04 LTS mediawiki No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS mediawiki No fix yet —
Ubuntu Pro 22.04 LTS mediawiki No fix yet —
Ubuntu Pro 20.04 LTS mediawiki No fix yet —

Advisories 3

References