The Bush campaign willingly employed the Kerry mole. The Nixon campaign burglarized a private office in the Watergate complex (and several others). Burglary is a crime.
The difference is a little matter of breaking the law, then paying the burglars to keep quiet, stashing the hush money in a foreign bank, and then ordering the CIA to call off the FBI investigation because it involved activity outside US borders.
And much, much more. What a mess.
Morally and principally, it is one and the same.