Endophthalmitis is a severe inflammation of the anterior or posterior (or both) chambers of the eye that may be sterile or associated with infection. It is a potentially vision-threatening complication of cataract surgery. Prophylactic measures for endophthalmitis are targeted against various sources of infection