Get some vinyl and leather spray from Walmart or AutoZone and spray it. That will work till you replace it.
I've spray painted carpet before a sale.......
It would be easier to take it out, hang it up at a quarter car wash (using the mat clips on the wall) and blast it first. Let it dry, then spray away. It'll look brand new. Wait till you see how much filth washes out of that carpet.