# CVE-2020-4050: set-screen-option filter misuse by plugins leading to privilege escalation in WordPress

- Priority: **Routine**
- Reason: Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-06-12 · Modified: 2024-08-04
- Aliases: UBUNTU-CVE-2020-4050, DEBIAN-CVE-2020-4050
- Record: https://cvemate.com/vulnerability/CVE-2020-4050 · JSON: https://cvemate.com/vulnerability/CVE-2020-4050/json

## Description

```text
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, 5.1.6, 5.0.10, 4.9.15, 4.8.14, 4.7.18, 4.6.19, 4.5.22, 4.4.23, 4.3.24, 4.2.28, 4.1.31, 4.0.31, 3.9.32, 3.8.34, 3.7.34).
```

## Signals

- CVSS: 6 medium (v2.0, NVD) AV:N/AC:M/Au:S/C:P/I:P/A:P
- EPSS: 1.414%, percentile 73.666%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian wordpress (Debian): \< 5.4.2+dfsg1-1
- ubuntu wordpress (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 8.0 \| 9.0 \| 10.0
- fedoraproject fedora: 31 \| 32
- wordpress wordpress: \< 3.7 (fixed in 3.7.34) \| ≥ 3.7, ≤ 3.7.33 (fixed in 3.7.34) \| ≥ 3.8, ≤ 3.8.33 (fixed in 3.7.34) \| ≥ 3.9, ≤ 3.9.31 (fixed in 3.7.34) \| ≥ 4.0, ≤ 4.0.30 (fixed in 3.7.34) \| ≥ 4.1, ≤ 4.1.30 (fixed in 3.7.34) \| ≥ 4.2, ≤ 4.2.27 (fixed in 3.7.34) \| ≥ 4.3, ≤ 4.3.23 (fixed in 3.7.34) \| ≥ 4.4, ≤ 4.4.22 (fixed in 3.7.34) \| ≥ 4.5, ≤ 4.5.21 (fixed in 3.7.34) \| ≥ 4.6, ≤ 4.6.18 (fixed in 3.7.34) \| ≥ 4.7, ≤ 4.7.17 (fixed in 3.7.34) \| ≥ 4.8, ≤ 4.8.13 (fixed in 3.7.34) \| ≥ 4.9, ≤ 4.9.14 (fixed in 3.7.34) \| ≥ 5.0, ≤ 5.0.9 (fixed in 3.7.34) \| ≥ 5.1, ≤ 5.1.5 (fixed in 3.7.34) \| ≥ 5.2, ≤ 5.2.6 (fixed in 3.7.34) \| ≥ 5.3, ≤ 5.3.3 (fixed in 3.7.34)
- wordpress wordpress: ≥ 3.7, \< 3.7.34 \| ≥ 3.8, \< 3.8.34 \| ≥ 3.9, \< 3.9.32 \| ≥ 4.0, \< 4.0.31 \| ≥ 4.1, \< 4.1.31 \| ≥ 4.2, \< 4.2.28 \| ≥ 4.3, \< 4.3.24 \| ≥ 4.4, \< 4.4.23 \| ≥ 4.5, \< 4.5.22 \| ≥ 4.6, \< 4.6.19 \| ≥ 4.7, \< 4.7.18 \| ≥ 4.8, \< 4.8.14 \| ≥ 4.9, \< 4.9.15 \| ≥ 5.0, \< 5.0.10 \| ≥ 5.1, \< 5.1.6 \| ≥ 5.2, \< 5.2.7 \| ≥ 5.3.0, \< 5.3.4 \| ≥ 5.4, \< 5.4.2
- wordpress wordpress-develop: ≥ 5.4.0, \< 5.4.2 \| ≥ 5.3.0, \< 5.3.4 \| ≥ 5.2.0, \< 5.2.7 \| ≥ 5.1.0, \< 5.1.6 \| ≥ 5.0.0, \< 5.0.10 \| ≥ 4.9.0, \< 4.9.15 \| ≥ 4.8.0, \< 4.8.14 \| ≥ 4.7.0, \< 4.7.18 \| ≥ 4.6.0, \< 4.6.19 \| ≥ 4.5.0, \< 4.5.22 \| ≥ 4.4.0, \< 4.4.23 \| ≥ 4.3.0, \< 4.3.24 \| ≥ 4.2.0, \< 4.2.28 \| ≥ 4.1.0, \< 4.1.31 \| ≥ 4.0.0, \< 4.0.31 \| ≥ 3.9.0, \< 3.9.32 \| ≥ 3.8.0, \< 3.8.34 \| ≥ 3.7.0, \< 3.7.34

## References

- <https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/>
- <https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-4vpv-fgg2-gcqc>
- <https://github.com/WordPress/wordpress-develop/commit/b8dea76b495f0072523106c6ec46b9ea0d2a0920>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/>
- <https://www.debian.org/security/2020/dsa-4709>
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html>
- <https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html>
- <https://ubuntu.com/security/CVE-2020-4050>
- <https://core.trac.wordpress.org/changeset/47951>
- <https://www.cve.org/CVERecord?id=CVE-2020-4050>
- <https://security-tracker.debian.org/tracker/CVE-2020-4050>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/8746bd3a-6e2b-4ed2-9b21-4ed5a0e58de8>

---

Data as of 2026-12-05T04:58:19.451Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
