The present invention relates to an agent comprising anion-exchange groups that are suitable for adsorbing bacterial lipopolysaccharides (LPS) and/or lipoteichoic acids (LTA), for use in the prevention and/or treatment of inflammatory conditions and/or diseases of the oral cavity or in the vaginal region. The present invention also relates to a pharmaceutical composition that comprises an agent of this kind and can adhere to mucosa.