veraPDF Validation XXE via XFA
veraPDF-validation
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.verapdf:validation-model Maven |
|
|
| org.verapdf:validation-model-jakarta Maven |
|
veraPDF-validation
| Product | Affected | Fixed in |
|---|---|---|
| org.verapdf:validation-model Maven |
|
|
| org.verapdf:validation-model-jakarta Maven |
|
|
veraPDF validation provides PDF/A and PDF/UA validation, feature reporting, and metadata repair. From 1.17.35 until 1.30.2 and 1.31.71, veraPDF-validation contains an XML External Entity (XXE) vulnerability in validation-model/src/main/java/org/verapdf/gf/model/impl/pd/GFPDAcroForm.java in the getdynamicRender() method, where a crafted PDF containing a malicious XFA stream can cause external entity expansion during PDF/UA-1 validation and allow local file disclosure or outbound server-side requests. This issue is fixed in versions 1.30.2 and 1.31.71.
From the CVE record · GitHub_M
An XML External Entity vulnerability in veraPDF-validation's AcroForm handling affects PDF/UA-1 validation. If the application validates a crafted PDF containing a malicious XFA stream, an attacker can cause local file disclosure or outbound server-side requests. The input does not specify whether authentication is required.
Check applications using Maven packages org.verapdf:validation-model or org.verapdf:validation-model-jakarta at versions >=1.17.35 <1.30.2 or >=1.31.1 <1.31.71.