The composition is a hydrogel which may be used to deliver therapeutics vaginally. The hydrogel may include a glycosaminoglycan. The glycosaminoglycan may include multiple thiol groups. The composition may also include a molecule that includes at least two thiol reactive sites. The composition may include a mucoadhesive agent as well as a therapeutic agent. The composition may deliver the therapeutic at a pH that is optimal for the vaginal environment, namely between about 3.5 and 5.0.