This commit is contained in:
jstaerk
2025-08-11 09:59:32 +02:00
parent 63b95ad01c
commit cbe89c4ae0
2 changed files with 3 additions and 1 deletions

View File

@@ -5,6 +5,8 @@
- #905 Parse product level charges/discounts into JSON
- #869 Import Account Holder returns SellerTradeParty.name instead of AccountHolder
- #861 Multiple problems with Product.CountryOfOrigin
- #899
- #901
- #908 Validation: Make clear when embedded file name is wrong
- #909
- #913 downgrade PDF/A errors to warnings

View File

@@ -326,7 +326,7 @@ public class ZUGFeRDInvoiceImporter {
final DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
//REDHAT
//https://www.blackhat.com/docs/us-15/materials/us-15-Wang-FileCry-The-New-Age-Of-XXE-java-wp.pdf
dbf.setAttribute(XMLConstants.FEATURE_SECURE_PROCESSING, true);
dbf.setFeature("http://javax.xml.XMLConstants/feature/secure-processing", true);
dbf.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, "");
dbf.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "");