All vulnerabilities

Servers and applications

CVE-2020-7071

In PHP versions 7.3.x below 7.3.26, 7.4.x below 7.4.14 and 8.0.0, when validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with invalid password as valid URL. This may lead to functions that rely on URL being valid to mis-parse the URL and produce wrong data as components of the URL.

Severity
Medium 5.3
Published
15 Feb 2021
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Fixed in
7.3.26, 7.4.14, 8.0.1
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • From 7.3.0 before 7.3.26
  • From 7.4.0 before 7.4.14
  • From 8.0.0 before 8.0.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2020-7071
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2020-7071