WordPress core
CVE-2020-4048
WordPress: Open redirect in wp_validate_redirect()
- Severity
- Medium 5.7
- 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-q6pw-gvf4-5fj5
- Sources
- NVD, WordPress
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,…
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-4048
- CVE.org https://www.cve.org/CVERecord?id=CVE-2020-4048
- GitHub Advisory Database https://github.com/advisories/GHSA-q6pw-gvf4-5fj5
- WordPress security advisory https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-q6pw-gvf4-5fj5