{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-4048","id":"CVE-2020-4048","title":"Open redirect in wp_validate_redirect() in 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, 4.1.31,","descriptionLong":"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).","published":"2020-06-12T16:00:30.000Z","updated":"2026-11-08T02:45:22.308934893Z","reserved":"2019-12-30T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"2.0","score":4.9,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["wordpress-develop"],"affectedProducts":[{"vendor":"WordPress","product":"wordpress-develop","defaultStatus":null,"versions":[{"status":"affected","version":">= 5.4.0, < 5.4.2"},{"status":"affected","version":">= 5.3.0, < 5.3.4"},{"status":"affected","version":">= 5.2.0, < 5.2.7"},{"status":"affected","version":">= 5.1.0, < 5.1.6"},{"status":"affected","version":">= 5.0.0, < 5.0.10"},{"status":"affected","version":">= 4.9.0, < 4.9.15"},{"status":"affected","version":">= 4.8.0, < 4.8.14"},{"status":"affected","version":">= 4.7.0, < 4.7.18"},{"status":"affected","version":">= 4.6.0, < 4.6.19"},{"status":"affected","version":">= 4.5.0, < 4.5.22"},{"status":"affected","version":">= 4.4.0, < 4.4.23"},{"status":"affected","version":">= 4.3.0, < 4.3.24"},{"status":"affected","version":">= 4.2.0, < 4.2.28"},{"status":"affected","version":">= 4.1.0, < 4.1.31"},{"status":"affected","version":">= 4.0.0, < 4.0.31"},{"status":"affected","version":">= 3.9.0, < 3.9.32"},{"status":"affected","version":">= 3.8.0, < 3.8.34"},{"status":"affected","version":">= 3.7.0, < 3.7.34"}],"platforms":[]}],"packages":[],"cwes":["CWE-601"],"aliases":["BIT-wordpress-2020-4048","BIT-wordpress-multisite-2020-4048","GHSA-q6pw-gvf4-5fj5"],"references":[{"url":"https://wordpress.org/news/2020/06/wordpress-5-4-2-security-and-maintenance-release/","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory"]},{"url":"https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-q6pw-gvf4-5fj5","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/WordPress/wordpress-develop/commit/6ef777e9a022bee2a80fa671118e7e2657e52693","tags":["x_refsource_MISC","x_transferred","Patch","fix"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ODNHXVJS25YVWYQHOCICXTLIN5UYJFDN/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/773N2ZV7QEMBGKH6FBKI6Q5S3YJMW357/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://www.debian.org/security/2020/dsa-4709","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00000.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/09/msg00011.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01978,"epssPercentile":0.80925,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-4048","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-4048","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-4048","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-4048","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}