{"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-03-15T14:47:52.014869Z","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"}]}}],"database_specific":{"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"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34911.json"}}],"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"}]}