ImageMagick versions before 6.9.13-57 and 7.x before 7.1.2-32 have an XML injection vulnerability in the CIP encoder. This flaw occurs because the encoder does not properly escape input-derived data when generating Cisco IP Phone XML output. An attacker can craft a file that, when converted to CIP format, injects arbitrary XML markup. The vulnerability has a medium severity with a CVSS score of 5.3.