Some carpet cleaners can contain toxic residues that cats can pick up on their paws and fur and then ingest during self-grooming.
Steam cleaning and enzyme cleaners on stains are the safest methods.
New carpets can be toxic from formaldehyde fumes and flame-retardant bromide compounds that can harm the thyroid gland.