Most USB ports use a polyfuse to prevent 5V rail collapse and/or regulator overload in the event of external short circuit.
Whether you anticipate external shorts to happen and if/how your device is expected to survive them is another thing.
If you want to be pedantically compliant with USB spec, you should be able to withstand indefinite short between any pair of USB pins.