Mild acetic acid can be found in vinaigrette. It won't stain a carpet if it is white. The only thing that makes a stain is the brown colourant in vinegar.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.