It really doesn't. An employee brings their employer some amount of value. The exact amount of value is completely unrelated to that employee's salary at their previous jobs.
The _only_ "risk" here is that the employer might not be able to lowball the candidate as much as they possibly could.