CVE-2024-5458

Filter bypass in filter_var (FILTER_VALIDATE_URL)

In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.


We have discovered 2,030,095 live websites that are affected by CVE-2024-5458.

Run a Free Instant Scan




Affected Software

Product  PHP
Category Programming Languages
Vulnerable Domains2,030,095 live websites (29% of PHP install base)
Vulnerable Versions
  • from 7.3.27 through 7.3.33
  • from 7.4.15 through 7.4.33
  • from 8.0.2 through 8.0.30
  • from 8.1 through 8.1.29
  • from 8.2 through 8.2.20
  • from 8.3 through 8.3.8
  • from 40 through 40
Vulnerable Versions Count110 versions ( 21% of all versions)



Details

  • Published - Jun 9, 2024
  • Updated - Nov 3, 2025

Credits

  • c01l (reporter)

Website Distribution by Country

Number of websites using CVE-2024-5458
United States452,264 websites



Germany216,001 websites
France140,183 websites
Japan137,812 websites
Russia136,991 websites
GB101,416 websites
Netherlands97,064 websites
Italy60,324 websites
Spain55,238 websites
Brazil47,428 websites

Website Distribution by TLD

Number of websites using CVE-2024-5458
.com791,190 websites
.de117,998 websites
.ru114,354 websites
.nl83,714 websites
.org77,893 websites
.net63,123 websites
.co.uk61,263 websites
.fr51,126 websites
.it44,866 websites
.com.br44,043 websites

Vulnerable Versions

Vulnerable versions are highlighted in red

Websites affected by CVE-2024-5458

Top websites that are affected by CVE-2024-5458. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
*********.de Germany***
*****.net Canada***
****.******.com Singapore***
**********.org Hong Kong*,***
********.********.it Italy*,***
***************.eu Netherlands*,***
***********.com Turkey*,***
**********.org United States*,***
***.*****.pm United States*,***
***.***********.net Germany*,***
See full domain list

FAQ

A total of 2,030,095 websites have been identified as vulnerable to CVE-2024-5458, based on global website indexing conducted by WebTechSurvey.
The PHP is affected by the CVE-2024-5458 vulnerability.
PHP versions up to and including 40 are vulnerable to CVE-2024-5458.