Name | CVE-2022-34911 |
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(). |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3117-1, DSA-5246-1, ELA-674-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
mediawiki (PTS) | stretch (security) | 1:1.27.7-1+deb9u11 | vulnerable |
stretch (lts), stretch | 1:1.27.7-1+deb9u13 | fixed | |
buster (security), buster, buster (lts) | 1:1.31.16-1+deb10u8 | fixed | |
bullseye | 1:1.35.13-1+deb11u2 | fixed | |
bullseye (security) | 1:1.35.13-1+deb11u3 | fixed | |
bookworm (security), bookworm | 1:1.39.10-1~deb12u1 | fixed | |
sid, trixie | 1:1.39.10-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
mediawiki | source | stretch | 1:1.27.7-1+deb9u12 | ELA-674-1 | ||
mediawiki | source | buster | 1:1.31.16-1+deb10u3 | DLA-3117-1 | ||
mediawiki | source | bullseye | 1:1.35.8-1~deb11u1 | DSA-5246-1 | ||
mediawiki | source | (unstable) | 1:1.35.7-1 |
https://phabricator.wikimedia.org/T308471
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/805208
https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/thread/PIPYDRSHXOYW5DB7X755QDNUV5EZWPWB/