Live threats

All CVEs / Mediawiki

CVE-2022-34911Mediawiki

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
No
Published
Jul 2, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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().

Original NVD text.

What to do

  1. Apply the vendor's security update for Mediawiki.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
mediawikimediawiki< 1.35.7
mediawikimediawiki≥ 1.36.0 < 1.37.3
mediawikimediawiki1.38.0
mediawikimediawiki1.38.0
mediawikimediawiki1.38.0
fedoraprojectfedora36
fedoraprojectfedora37

Official sources

References

Links published by the sources. Open them with care.