Transit – Newark Airport, NJ – Security twice?

No, but if your arrival and departure terminal is different, you must leave the safe area to go to the other terminal and re-enter for safety.
Or if you get lost and leave by accident, you would have to go back inside. The signage may well be mediocre enough to support the latter.