Vulnerabilities · 2022 · Mediawiki
CVE-2022-34911
Mediawiki vulnerability
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 products
Mediawiki, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mediawiki runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- phabricator.wikimedia.org/T308471 · Vendor Advisory
- lists.debian.org/debian-lts-announce/2022/09/msg00027.html · Third Party Advisory
- www.debian.org/security/2022/dsa-5246 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D
- security.gentoo.org/glsa/202305-24
- nvd.nist.gov/vuln/detail/CVE-2022-34911
- cve.org/CVERecord?id=CVE-2022-34911
More vulnerabilities in Mediawiki products
CVE-2024-47913CVE-2024-47849CVE-2024-47847CVE-2024-47846CVE-2024-40605CVE-2024-40604CVE-2024-40603CVE-2024-40602All 391
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.