Vulnerability Details : CVE-2022-34911
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().
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2022-34911
- cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*
- cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*
- cpe:2.3:a:mediawiki:mediawiki:1.38.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:mediawiki:mediawiki:1.38.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:mediawiki:mediawiki:1.38.0:-:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-34911
0.28%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 65 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-34911
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST |
CWE ids for CVE-2022-34911
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-34911
-
https://lists.debian.org/debian-lts-announce/2022/09/msg00027.html
[SECURITY] [DLA 3117-1] mediawiki security updateMailing List;Third Party Advisory
-
https://security.gentoo.org/glsa/202305-24
MediaWiki: Multiple Vulnerabilities (GLSA 202305-24) — Gentoo security
-
https://www.debian.org/security/2022/dsa-5246
Debian -- Security Information -- DSA-5246-1 mediawikiThird Party Advisory
-
https://phabricator.wikimedia.org/T308471
⚓ T308471 CVE-2022-34911: Username is not escaped in the "welcomeuser" messageIssue Tracking;Vendor Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKKOQXPYLMBSEVDHFS32BPBR3ZQJKY5B/
[SECURITY] Fedora 37 Update: mediawiki-1.38.2-1.fc37 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7N5ZBWLNNPZKFK7Q4KEHGCJ2YELQEUJP/
[SECURITY] Fedora 36 Update: mediawiki-1.37.4-1.fc36 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
Jump to