CVE-2022-34911

CVSS v3.1 6.1 (Medium)
61% Progress
CVSS v2.0 4.3 (Medium)
43% Progress
EPSS 0.28 % (69th)
0.28% Progress
Affected Products 2
Advisories 4

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().

Weaknesses
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE Status
PUBLISHED
CNA
MITRE
Published Date
2022-07-02 20:15:08
(2 years ago)
Updated Date
2023-11-07 03:48:47
(10 months ago)

Affected Products

Loading...
Loading...
Loading...

Configuration #1

    CPE23 From Up To
  Mediawiki prior 1.35.7 version cpe:2.3:a:mediawiki:mediawiki < 1.35.7
  Mediawiki from 1.36.0 version and prior 1.37.3 version cpe:2.3:a:mediawiki:mediawiki >= 1.36.0 < 1.37.3
  Mediawiki 1.38.0 cpe:2.3:a:mediawiki:mediawiki:1.38.0:-
  Mediawiki 1.38.0 Rc0 cpe:2.3:a:mediawiki:mediawiki:1.38.0:rc0
  Mediawiki 1.38.0 Rc1 cpe:2.3:a:mediawiki:mediawiki:1.38.0:rc1

Configuration #2

    CPE23 From Up To
  Fedoraproject Fedora 36 cpe:2.3:o:fedoraproject:fedora:36
  Fedoraproject Fedora 37 cpe:2.3:o:fedoraproject:fedora:37
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...