WordPress Core < 5.4.2 - Open Redirect

URL Redirection to Untrusted Site ('Open Redirect')
CVE CVE-2020-4048
CVSS Medium (5.7)
Publicly Published June 10, 2020
Last Updated January 22, 2024
Researcher Ben Bidner
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).

References

1 affected software package

Software Type Core
Software Slug wordpress (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 3.7
  • 3.7 - 3.7.33
  • 3.8 - 3.8.33
  • 3.9 - 3.9.31
  • 4.0 - 4.0.30
  • 4.1 - 4.1.30
  • 4.2 - 4.2.27
  • 4.3 - 4.3.23
  • 4.4 - 4.4.22
  • 4.5 - 4.5.21
  • 4.6 - 4.6.18
  • 4.7 - 4.7.17
  • 4.8 - 4.8.13
  • 4.9 - 4.9.14
  • 5.0 - 5.0.9
  • 5.1 - 5.1.5
  • 5.2 - 5.2.6
  • 5.3 - 5.3.3
Patched Version
  • 3.7.34
  • 3.8.34
  • 3.9.32
  • 4.0.31
  • 4.1.31
  • 4.2.28
  • 4.3.24
  • 4.4.23
  • 4.5.22
  • 4.6.19
  • 4.7.18
  • 4.8.14
  • 4.9.15
  • 5.0.10
  • 5.1.6
  • 5.2.7
  • 5.3.4
  • 5.4.2
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.