CVE-2019-16220: In WordPress before 5.2.3, validation and sanitization of a URL in wp_validate_redirect in wp-includes/pluggable.php could lead to an open redirect if a provided URL path does not start with a...
Medium CVSS 6.1
- CVE id
- CVE-2019-16220
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| WordPress Runtimes and servers |
< 5.2.3 | 5.2.3 |
How to fix it
Upgrade WordPress to 5.2.3 or later.
wp core version
- Update WordPress core to the patched release (Dashboard > Updates, wp core update, or the wordpress image tag).
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
In WordPress before 5.2.3, validation and sanitization of a URL in wpvalidateredirect in wp-includes/pluggable.php could lead to an open redirect if a provided URL path does not start with a forward slash.
References
- CVE-2019-16220 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2019-16220
- Web: https://core.trac.wordpress.org/changeset/45971
- Web: https://github.com/WordPress/WordPress/commit/c86ee39ff4c1a79b93c967eb88522f5c09614a28
- Web: https://lists.debian.org/debian-lts-announce/2019/10/msg00023.html
- Web: https://seclists.org/bugtraq/2020/Jan/8
- Web: https://wordpress.org/news/2019/09/wordpress-5-2-3-security-and-maintenance-release/
- Web: https://wpvulndb.com/vulnerabilities/9863
- Web: https://www.debian.org/security/2020/dsa-4599
- Web: https://www.debian.org/security/2020/dsa-4677
- Web: https://core.trac.wordpress.org/changeset/45971
- Web: https://github.com/WordPress/WordPress/commit/c86ee39ff4c1a79b93c967eb88522f5c09614a28
- Web: https://lists.debian.org/debian-lts-announce/2019/10/msg00023.html
- Web: https://medium.com/@theodorejackson.us/rediscovering-an-old-vulnerability-cve-2019-16220-d25cc441752f
- Web: https://seclists.org/bugtraq/2020/Jan/8
- Web: https://wordpress.org/news/2019/09/wordpress-5-2-3-security-and-maintenance-release/
- Web: https://wpvulndb.com/vulnerabilities/9863
- Web: https://www.debian.org/security/2020/dsa-4599
- Web: https://www.debian.org/security/2020/dsa-4677
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.