6.1medium
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.
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.12% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-MEDIAWIKI-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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mediawiki mediawiki | before 1.35.7, from 1.36.0 before 1.37.3, 1.38.0 | NVD |
| fedoraproject fedora | 36, 37 | NVD |
| mediawiki (Bitnami) | before 1.35.7, from 1.36.0 before 1.37.3, from 1.38.0 before 1.38.1 | Bitnami Vulnerability Database |
All scores
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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().
NVD (es)
Se ha detectado un problema en MediaWiki versiones anteriores a 1.35.7, 1.36.x y 1.37.x anteriores a 1.37.3, y 1.38.x anteriores a 1.38.1. Un ataque de tipo XSS puede ocurrir en configuraciones que permiten una carga útil de JavaScript en un nombre de usuario. Tras la creación de la cuenta, cuando es establecido el título de la página como "Welcome" seguido del nombre de usuario, éste no es escapado: la función SpecialCreateAccount::successfulAction() llama a ::showSuccessPage() con un mensaje como segundo parámetro, y OutputPage::setPageTitle() usa text()
References
| https://phabricator.wikimedia.org/T308471 | issue-tracking, vendor-advisory, web | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7N5ZBWLNNPZKFK7Q4KEHGCJ2YELQEUJP/ | vendor-advisory, web | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKKOQXPYLMBSEVDHFS32BPBR3ZQJKY5B/ | vendor-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2022/09/msg00027.html | mailing-list, third-party-advisory, web | |
| https://www.debian.org/security/2022/dsa-5246 | third-party-advisory, vendor-advisory, web | |
| https://security.gentoo.org/glsa/202305-24 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-34911 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-34911 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2022-34911 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MEDIAWIKI-2022-34911 changed 2025-04-03 | Apache-2.0 |