Code injection in WordPress - CVE-2022-21663
Published: January 7, 2022 / Updated: January 11, 2022
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code on the system.
The vulnerability exists due to improper input validation in some multisite installations. A remote user with Super Admin role can bypass explicit/additional hardening and inject certain objects.
Successful exploitation of this vulnerability may result in complete compromise of web application.
Affected software
wordpress (Debian package)
wordpress
Fedora
How to mitigate CVE-2022-21663
wordpress (Debian package) - addressed in versions 5.0.15+dfsg1-0+deb10u1, 5.7.5+dfsg1-0+deb11u1
wordpress - addressed in versions 5.1.12-1.el7, 5.8.3-1.fc34, 5.8.3-1.fc35