Dispersive estimate of the electromagnetic charge symmetry violation in the octet baryon masses