Will this reversible USB-A circuit work safely?
Replace D4 and D6 with MOSFETs with the gate to the matching Vbus.
that will remove the voltage lift on ground induced by the diodes.
D3 and D5 could be replaced with P channel MOSFETS if you need the full 5V for the rest of the circuit,



simulate this circuit &ndash; Schematic created using CircuitLab