The invention relates to an endoscopic accessory for wound ligation, which comprises two flexible tubular elements, an inner one (1a) and an outer, concentric one (1b), and means (4) for connecting to a vacuum pump at the proximal end, the accessory further comprising a stent (2) attached to the distal end of the inner tube (1a), with a conical section in the proximal part and a cylindrical section in the distal part, the stent being covered by a plastic or silicone material and provided with one or more elastic bands (3) for treating wounds and a cord mechanism (5, 6) for releasing same. The accessory allows easy approach, aspiration and discharge of the bands in a rapid, simple and safe manner, without the need to swap the endoscope or lose the position.