WordPress 7.1.4 closes 22 security issues. Most of them need an account on the site, usually a Contributor, before they can be used. Two need no account at all. One of those sits in the core updater and can let an outsider take over a site while an update is running.
Imunify360 now blocks that attack at the server, in its web application firewall and in Proactive Defense. Sites that have not updated yet are covered by this.
Update to WordPress 7.1.4. If you cannot update straight away, keep Imunify360 active on the server.
SourceImunify360 Blog