There is described a device for containing waste material leaking from the junction between a stoma and a stoma bag having a flange, said device comprising a flange extension member which circumferentially surrounds the stoma bag flange and wherein said flange extension member includes a pouch for holding a spare stoma bag. The flange extension member can comprise an absorbent layer and can be sealed to the user's skin at its outer edge. Additionally, the flange extension member can have a waterproof or impermeable backing layer to prevent waste material from seeping through it. A modified stoma bag flange and a modified stoma bag are also described.