CONTENTUM.COMA specialist. A plan. A result.

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

More vulnerabilities in Mediawiki products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.