Soros is not contributing to candidates. He’s contributing to PACS. AFAIK, that is not illegal.
But yes, you are correct, it is illegal for candidates to take contributions from foreign sources.
Since when was anything illegal to get Obama elected? He will sell his soul to the devil......oh, he already has......to get reelected.