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.

Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)1.1%top 34.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12mediawiki1:1.35.7-1DEBIAN-CVE-2022-34911
Debian:13mediawiki1:1.35.7-1DEBIAN-CVE-2022-34911
Debian:14mediawiki1:1.35.7-1DEBIAN-CVE-2022-34911
Ubuntu:25.10mediawikino fix listedUBUNTU-CVE-2022-34911
Ubuntu:26.04:LTSmediawikino fix listedUBUNTU-CVE-2022-34911
Ubuntu:26.10mediawikino fix listedUBUNTU-CVE-2022-34911

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References