Security company Malwarebytes said it had made the discovery last week and had published a report about its findings online.
A spokesman for the Daily Mail later said that it had not been contacted by Malwarebytes about its findings in advance.
However, the BBC has seen evidence that the security company did in fact try to contact the newspaper about the issue last Friday.
Read MoreSelect your language