Cross-site scripting in WordPress - CVE-2020-4046
Published: June 12, 2020 / Updated: July 6, 2020
Vulnerability details
The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data. A remote user is able to add JavaScript to posts in the block editor and execute arbitrary script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Affected software
Debian Linux
Fedora
wordpress (Debian package)
wordpress
How to mitigate CVE-2020-4046
wordpress (Debian package) - update to 5.0.10+dfsg1-0+deb10u1
wordpress - addressed in versions 5.1.6-1.el6, 5.1.6-1.el7, 5.4.2-1.fc31, 5.4.2-1.fc32