An issue was discovered in MediaWiki before 1.35.14, 1.36.x through 1.39.x before 1.39.6, and 1.40.x before 1.40.2. In includes/logging/RightsLogFormatter.php, group-*-member messages can result in XSS on Special:log/rights.
https://phabricator.wikimedia.org/T347726
https://lists.debian.org/debian-lts-announce/2024/04/msg00018.html