In most people with appendicitis, the appendix creates a swollen mass that is filled with fluid and bacteria, or pus. This fluid-filled mass can burst or rupture. Rupture is the most serious complication of appendicitis because it can lead to peritonitis. Peritonitis is a dangerous infection that happens when bacteria and other contents of the torn appendix leak into the abdomen.