We missed to unescape EcmaScript encoded strings in UtilCoded::checkStringForHtmlSafe, ie in all form fields using allow-html="safe" Thanks: 牛治 <niu.zhi@zte.com.cn> for report Conflicts handled by hand => no functional changes in code (ude to IDE setting) framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java