Did you manage to find a solution to this ? I have come across exact same issue in my code. And same issue with "keywords" field.I am thinking using the encodeForHTML method instead , so the statement would change to : <meta name="description" content="<%= xssAPI.encodeForHTML(properties.get("jcr:...