# CVE-2020-4048: Open redirect in wp_validate_redirect() in WordPress

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.98%, higher than 81% of CVEs (2026-12-01)
- Published: 2020-06-12T16:00:30.000Z
- Modified: 2026-09-08T08:48:22.451Z
- Also known as: BIT-WORDPRESS-2020-4048, BIT-WORDPRESS-MULTISITE-2020-4048, GHSA-q6pw-gvf4-5fj5
- Weaknesses: CWE-601
- Assigned by: GitHub_M

## Description

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).

(As written by CVE List.)

## Affected

- 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; and 6 more
- wordpress wordpress: from 3.7 before 3.7.34; from 3.8 before 3.8.34; from 3.9 before 3.9.32; from 4.0 before 4.0.31; from 4.1 before 4.1.31; from 4.2 before 4.2.28; from 4.3 before 4.3.24; from 4.4 before 4.4.23; from 4.5 before 4.5.22; from 4.6 before 4.6.19; from 4.7 before 4.7.18; from 4.8 before 4.8.14; and 6 more
- fedoraproject fedora: 32; 33
- debian debian_linux: 8.0; 9.0; 10.0
- wordpress (Bitnami): from 3.7.0 before 3.7.34; from 3.8.0 before 3.8.34; from 3.9.0 before 3.9.32; from 4.0.0 before 4.0.31; from 4.1.0 before 4.1.31; from 4.2.0 before 4.2.28; from 4.3.0 before 4.3.24; from 4.4.0 before 4.4.23; from 4.5.0 before 4.5.22; from 4.6.0 before 4.6.19; from 4.7.0 before 4.7.18; from 4.8.0 before 4.8.14; and 6 more
- wordpress-multisite (Bitnami): from 3.7.0 before 3.7.34; from 3.8.0 before 3.8.34; from 3.9.0 before 3.9.32; from 4.0.0 before 4.0.31; from 4.1.0 before 4.1.31; from 4.2.0 before 4.2.28; from 4.3.0 before 4.3.24; from 4.4.0 before 4.4.23; from 4.5.0 before 4.5.22; from 4.6.0 before 4.6.19; from 4.7.0 before 4.7.18; from 4.8.0 before 4.8.14; and 6 more

## Every score

- GitHub_M: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.9 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/> (advisory, release-notes, vendor-advisory)
- <https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-q6pw-gvf4-5fj5> (advisory, third-party-advisory)
- <https://github.com/WordPress/wordpress-develop/commit/6ef777e9a022bee2a80fa671118e7e2657e52693> (fix, patch)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/> (vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/> (vendor-advisory, web)
- <https://www.debian.org/security/2020/dsa-4709> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html> (advisory, mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html> (advisory, mailing-list, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-4048> (web)

## Sources

- CVE List: [CVE-2020-4048](https://www.cve.org/CVERecord?id=CVE-2020-4048), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-4048](https://nvd.nist.gov/vuln/detail/CVE-2020-4048), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-WORDPRESS-2020-4048](https://osv.dev/vulnerability/BIT-WORDPRESS-2020-4048), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-WORDPRESS-MULTISITE-2020-4048](https://osv.dev/vulnerability/BIT-WORDPRESS-MULTISITE-2020-4048), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-4048 · Whole record: https://cve.day/CVE-2020-4048.json · Rebuilt by cve.day 2026-11-25T22:57:52.936Z
