It relates to compositions comprising specific amounts of a hyaluronic acid or a pharmaceutically or veterinary acceptable salt thereof, and two thermoreversible adhesive agents, one of them being a poloxamer, wherein the weight ratio between the poloxamer and the hyaluronic acid or its salt is from 60:1 to 10:1; that may be used as a drug delivery system for the local delivery of active agents to the gastrointestinal tract. It also relates to delivery devices comprising them; and to their uses in medicine, in particular, in the treatment and/or prevention of mucosal lesions; in the prevention of tumor recurrence and reduction of inflammation in the gastrointestinal tract.