An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. ContentModelChange does not check if a user has correct permissions to create and set the content model of a nonexistent page.
https://www.debian.org/security/2021/dsa-4889
https://security.gentoo.org/glsa/202107-40
https://phabricator.wikimedia.org/T270988
https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html
https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html