Hi Laurentiu,
In the case of the iPhone 15 series and the iPhone 14 vanilla models, their design is intentional so that you may replace the screen without disconnecting the battery. To mitigate any ESD-related risks, don't use any metal prying tools, use ESD-safe tools, and discharge and shut down your device before opening it up. Read more about ESD here.
Good luck!