I recently replaced my Coldspot water filter and after doing so I drained about a gallon or two from water through the door. However, every time I get ice through the door, the water filter in the top of the fridge leaks inside the fridge.
If it was not leaking before you changed it out then the way it is installed is not correct. Open it up and adjust the filter and make sure you have it screwed in correctly. Also check the water pipes and make sure one has not come loose and is giving you ths issue. You can try to open the door and see where it is leaking to make it easier for you to fix the problem.
You may have a frozen or clogged line going to or coming from the fridge.
Determining where it is leaking can help you figure out how to stop it. The line to the ice maker may be frozen allowing the water to spill over.