Vulnerability database / CVE-2020-7071
CVE-2020-7071
MEDIUM 5.3 CVSS 3.1 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.
Published 15 Feb 2021
Last modified 17 Jun 2026 Assigned by security@php.net NVD status Modified Weakness
CWE-20 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
security@php.net (Secondary)
CVSS 3.1
MEDIUM 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NNVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 5.0
AV:N/AC:L/Au:N/C:N/I:P/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.3.0, < 7.3.26
7.3.26 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.4.0, < 7.4.14
7.4.14 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.0.1
8.0.1 NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD
netapp
clustered_data_ontapcpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*
(no version)
References
History
25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Feb 2021)