In Ofbiz 14.12 branch there is a flaw in the patches added in ticket
In ProductContentWrapper#getProductContentAsText and all similar content wrappers using a cache, the cacheKey does not include the new encoderType:
This makes it possible for subsequent calls on the same wrapper using different encoderTypes to return content having the wrong encoding and create potential security flaws.
The key should include the encoderType:
I leave you to find all the occurrences.