In MediaWiki before 1.35.1, the messages userrights-expiry-current and userrights-expiry-none can contain raw HTML. XSS can happen when a user visits Special:UserRights but does not have rights to change all userrights, and the table on the left side has unchangeable groups in it. (The right column with the changeable groups is not affected and is escaped correctly.)
https://www.debian.org/security/2020/dsa-4816
https://phabricator.wikimedia.org/T268917
https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-December/000268.html