Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2020-7071

FILTER_VALIDATE_URL accepts URLs with invalid userinfo

Medium5.3EPSS 2.9%
Published
Updated
Reserved
Assigned by
php

Description

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.

Scores

CVSS scores of CVE-2020-7071, by who scored it
Scored byCVSSScoreVector
phpCNA (assigner)3.1Medium5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVDNVD · Modified3.1Medium5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS (exploitation in 30 days)
2.9% · top 13% of all CVEs (7 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.

Weakness

Affected products

  • PHP Group · PHP

    • affected 7.3.x – < 7.3.26
    • affected 7.4.x – < 7.4.14
    • affected 8.0.X – < 8.0.1

References (7)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2020-7071 badge
[![CVE-2020-7071](https://trackcve.app/badge/CVE-2020-7071.svg)](https://trackcve.app/cve/CVE-2020-7071)

Record last updated .