Toilet water that has soaked into your carpets or flooring is considered a biohazard because it is full of microparticles that could quickly develop into mold or fungus if not properly sanitized.
Toilet overflowed carpet.
Toilet overflowed on carpet.
Use towels to clean up a small amount or a shop vac to help with larger spills or to soak water out of carpet and other fabrics.
The padding is a lost cause just get rid of it i agree with ballengerb that whether the carpet can be saved is a crap shoot there is a chance no matter how well you clean it some odor may still remain.
The majority of water infliction is caused to carpet because of its absorbency.
In fact the connecticut department of public health warns that contaminated carpet may lead to both gastrointestinal problems and skin irritation if it not handled correctly.
If a clog is the culprit of the overflow grab a toilet plunger and try plunging it free.
It is typically necessary to remove carpet that has been exposed to toilet water altogether.
Toilet overflowed on carpet rug doctor will extract alone if needed after scrubbing with brush and old towels by hand using a weaker liquid antibacterial hand soap hot water solution nearest to the carpet s color wearing long rubber gloves.
I would start by pulling up the carpet and removing the pad then let the subfloor dry out completely a floor fan could speed this up some.
Then go over it several times using hottest tap water which is close to steam.