WordPress core
CVE-2020-4050
WordPress: 'set-screen-option' filter misuse by plugins leading to privilege escalation
- Severity
- Low 3.1
- Published
- 12 Jun 2020
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 17 Oct 2026
- Fixed in
- 4.9.15, 5.0.10, 5.1.6, 5.2.7, 5.3.4, 5.4.2
- Also known as
- GHSA-4vpv-fgg2-gcqc
- Sources
- NVD, WordPress
Description
In affected versions of WordPress, misuse of the `set-screen-option` filter's return value allows arbitrary user meta fields to be saved. It does require an admin to install a plugin that would misuse the filter. Once installed, it can be leveraged by low privileged users. This has been patched in version 5.4.2, along with all the previously affected versions via a minor release (5.3.4, 5.2.7,…
Affected software
| Software | Affected versions |
|---|---|
WordPressWordPress core · cpe:a:wordpress:wordpress |
All 19 release lines
|
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2020-4050
- CVE.org https://www.cve.org/CVERecord?id=CVE-2020-4050
- GitHub Advisory Database https://github.com/advisories/GHSA-4vpv-fgg2-gcqc
- WordPress security advisory https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-4vpv-fgg2-gcqc