# CVE-2020-4048: Open redirect in wp\_validate\_redirect() in WordPress

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, 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-4048, DEBIAN-CVE-2020-4048
- Record: https://cvemate.com/vulnerability/CVE-2020-4048 · JSON: https://cvemate.com/vulnerability/CVE-2020-4048/json

## Description

```text
In affected versions of WordPress, due to an issue in wp_validate_redirect() and URL sanitization, an arbitrary external link can be crafted leading to unintended/open redirect when clicked. 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: 5.7 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
- EPSS: 1.978%, percentile 81.211%, 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: 32 \| 33
- 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-q6pw-gvf4-5fj5>
- <https://github.com/WordPress/wordpress-develop/commit/6ef777e9a022bee2a80fa671118e7e2657e52693>
- <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-4048>
- <https://core.trac.wordpress.org/changeset/47949>
- <https://www.cve.org/CVERecord?id=CVE-2020-4048>
- <https://security-tracker.debian.org/tracker/CVE-2020-4048>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/bc6a8c0e-1136-41ff-bfc2-450434aa6326>

---

Data as of 2026-12-05T04:58:21.795Z. 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
