Fixes a possible XML injection vulnerability