Before WordPress 4.9.5, the URL validator assumed URLs with the hostname localhost were on the same host as the WordPress server.
mitre·CWE-601·Published 2018-04-14