When I scan using the fortify tool, I had some problems in the section "Embedding the XML of an external object".
TransformerFactory trfactory = TransformerFactory.newInstance();
This is the place where the error is displayed. I gave the following fix suggested by fortify
trfactory.setFeature("http://xml.org/sax/features/external-general-entities", false); trfactory.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
but still the problems are not resolved. How to fix this problem?
veera source share