Not sure how to title better but:
When zombies break glass windows on any door, even glass doors themselves, for some reason the broken glass will remain in place separate from the door. So even if the door is open (as you can see in the image), the glass will not move with it, so you can still cut yourself.
Oddly enough, this doesn't happen when players break those same windows/glass doors.