{"id":"CVE-2022-34911","details":"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().","aliases":["BIT-mediawiki-2022-34911"],"modified":"2026-04-10T04:48:54.512893Z","published":"2022-07-02T20:15:08.373Z","references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7N5ZBWLNNPZKFK7Q4KEHGCJ2YELQEUJP/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKKOQXPYLMBSEVDHFS32BPBR3ZQJKY5B/"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00027.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202305-24"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5246"},{"type":"REPORT","url":"https://phabricator.wikimedia.org/T308471"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wikimedia/mediawiki","events":[{"introduced":"0"},{"fixed":"03021aff27a3047a2b5c6aec0d95966a07bd2583"},{"introduced":"bc542ec6d8573dfb906b468901799e0017875f1e"},{"fixed":"1d62ca6ec30099e7e9d6c554693a4b8e88e91139"},{"introduced":"0"},{"last_affected":"09fc2a4ea5c1d57779dea6526f0d4487cd950217"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.35.7"},{"introduced":"1.36.0"},{"fixed":"1.37.3"},{"introduced":"0"},{"last_affected":"1.38.0-NA"}]}}],"versions":["1.1.0","1.3.0beta1","1.35.0","1.35.0-rc.0","1.35.0-rc.1","1.35.0-rc.2","1.35.0-rc.3","1.35.1","1.35.2","1.35.3","1.35.4","1.35.5","1.35.6","1.37.0","1.37.0-rc.0","1.37.0-rc.1","1.37.0-rc.2","1.37.1","1.37.2","1.38.0","1.38.0-rc.0","1.38.0-rc.1","1.5.0alpha1","1.5.0alpha2","1.5.0beta1","1.5.0beta2","1.5.0beta3","1.5.0beta4","1.6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34911.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"1.38.0-rc0"}]},{"events":[{"introduced":"0"},{"last_affected":"1.38.0-rc1"}]},{"events":[{"introduced":"0"},{"last_affected":"36"}]},{"events":[{"introduced":"0"},{"last_affected":"37"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}