Vulnerability · Published Jul 2, 2022 · Assigned by mitre
CVE-2022-34911
Medium 6.1
In plain English
A medium-severity security flaw in the mediawiki package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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().
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mediawiki | 1:1.35.7-1 | DEBIAN-CVE-2022-34911 |
| Debian:13 | mediawiki | 1:1.35.7-1 | DEBIAN-CVE-2022-34911 |
| Debian:14 | mediawiki | 1:1.35.7-1 | DEBIAN-CVE-2022-34911 |
| Ubuntu:25.10 | mediawiki | no fix listed | UBUNTU-CVE-2022-34911 |
| Ubuntu:26.04:LTS | mediawiki | no fix listed | UBUNTU-CVE-2022-34911 |
| Ubuntu:26.10 | mediawiki | no fix listed | UBUNTU-CVE-2022-34911 |
Affected products (as reported)
References
- https://phabricator.wikimedia.org/T308471
- FEDORA-2022-f83aec6d57 vendor-advisory
- FEDORA-2022-bca2c95559 vendor-advisory
- [debian-lts-announce] 20220922 [SECURITY] [DLA 3117-1] mediawiki security update mailing-list
- DSA-5246 vendor-advisory
- GLSA-202305-24 vendor-advisory