If there is a small crack in the glass itself then you can still use your microwave.
Microwave hole inside glass door.
Condensation water moisture may gather inside the oven inside the oven door and between the glass panels.
Microwave ovens operating at 2450 mhz emit radiation with a wavelength of about 12 centimeters and the holes in the mesh of the door are typically on the order of 1 2 millimeters in diameter.
The stains are caused by grease particles reacting with the cooling air.
What really protects you is the metal mesh or screen that is behind the glass.
Aluminum foil being metallic would help in restoring the sanctity of this cage to some extent.
This means that stains and condensation can form between the two glass panels in the door.
If that is damaged then you have a problem.
The holes are absolutely not a microwave leakage problem because they are only in the plastic inner skin and have not affected the metal screen at all.
The only bad thing they might even conceivably do is make the interior harder to clean.
Since the holes are small compared to the wavelength of the microwaves little radiation can leak out.
The first thing you can do is cover this hole with aluminum foil.
The glass on the door is mostly for cosmetic purposes and doesn t play a huge part in the function.