Severe problems after an HSG are rare. They include an allergic reaction to the dye, injury to the uterus, or pelvic infection.