There's a reverse voltage diode, but it will not protect from too much voltage coming in.
Usually it is a zener diod that will short circuit with the wrong polarity or over voltage and it must work together with a fuse, otherwise it would burn up and cease to protect.
/Ubbe