Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-54082 EUVD-2026-50370GHSA-cg9x-g3gm-h5h6

veraPDF-validatio: Use of Default `DocumentBuilderFactory` leads to XXE When Processing Untrusted PDFs

Published Jul 29, 2026 · Updated Jul 30, 2026 · Assigned by GitHub_M

Description

veraPDF validation model is an implementation of the veraPDF validation model. From 1.25.73 until 1.30.2 and 1.31.71, veraPDF-validation contains an XML External Entity vulnerability in PDFAValidator.validate(...) and GFPDAcroForm.getdynamicRender(), where default DocumentBuilderFactory parsing of rich-text annotation or form-field values and XFA configurations in untrusted PDFs can allow local file disclosure and outbound network requests. This issue is fixed in versions 1.30.2 and 1.31.71.

Affected products

VendorProductAffectedFixed
veraPDF veraPDF-validation >= 1.17.35, < 1.30.2, >= 1.31.1, < 1.31.71 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.verapdf:validation-model >= 1.17.35, < 1.30.2 1.30.2 GHSA-cg9x-g3gm-h5h6
Maven org.verapdf:validation-model >= 1.31.1, < 1.31.71 1.31.71 GHSA-cg9x-g3gm-h5h6
Maven org.verapdf:validation-model-jakarta >= 1.17.35, < 1.30.2 1.30.2 GHSA-cg9x-g3gm-h5h6
Maven org.verapdf:validation-model-jakarta >= 1.31.1, < 1.31.71 1.31.71 GHSA-cg9x-g3gm-h5h6

Advisories 1

References