Cross-site scripting in WordPress - CVE-2020-4049

 

Cross-site scripting in WordPress - CVE-2020-4049

Published: June 12, 2020 / Updated: July 24, 2020


Vulnerability identifier: #VU29006
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2020-4049
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

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 via theme uploads. A remote user can 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

WordPress
Debian Linux
Fedora
wordpress (Debian package)
wordpress

How to mitigate CVE-2020-4049

Install updates from vendor's website.

WordPress - addressed in versions 3.7.34, 3.8.34, 3.9.32, 4.0.31, 4.1.31, 4.2.28, 4.3.24, 4.4.23, 4.5.22, 4.6.19, 4.7.18, 4.8.14, 4.9.15, 5.0.10, 5.1.6, 5.2.7, 5.3.4, 5.4.2
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

External References

Related Security Bulletins