NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

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

mediumCVSS 3.1 6.5GHSA-cg9x-g3gm-h5h6

Summary veraPDF-validation has an XML External Entity (XXE) vulnerability in two PDF parsing paths (validate and GFPDAcroForm.getdynamicRender()). A malicious/crafted PDF supplied to a veraPDF consumer can lead to the expansion of external entities while parsing rich-text annotation/form-field values or XFA configurations, allowing local file disclosure and potentially outbound network requests depending on the…

Published Jul 29, 2026

Affected packages

org.verapdf:validation-model

Ecosystem
Maven
Affected
>= 1.17.35, <= 1.30.1
Fixed in
1.30.2
Check
mvn dependency:tree -Dincludes=org.verapdf:validation-model

org.verapdf:validation-model

Ecosystem
Maven
Affected
>= 1.31.1, <= 1.31.70
Fixed in
1.31.71
Check
mvn dependency:tree -Dincludes=org.verapdf:validation-model

org.verapdf:validation-model-jakarta

Ecosystem
Maven
Affected
>= 1.17.35, <= 1.30.1
Fixed in
1.30.2
Check
mvn dependency:tree -Dincludes=org.verapdf:validation-model-jakarta

org.verapdf:validation-model-jakarta

Ecosystem
Maven
Affected
>= 1.31.1, <= 1.31.70
Fixed in
1.31.71
Check
mvn dependency:tree -Dincludes=org.verapdf:validation-model-jakarta

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

veraPDF-validation has an XML External Entity (XXE) vulnerability in two PDF parsing paths (validate and GFPDAcroForm.getdynamicRender()). A malicious/crafted PDF supplied to a veraPDF consumer can lead to the expansion of external entities while parsing rich-text annotation/form-field values or XFA configurations, allowing local file disclosure and potentially outbound network requests depending on the runtime (host) environment.

Details

Consumers that utilise either the PDFAValidator.validate(...) or GFPDAcroForm(acroForm).getdynamicRender() APIs to process untrusted PDFs are vulnerable to XXE exploits.

Both vulnerable paths share the same root cause: the underlying source binds a default DocumentBuilderFactory and immediately calls newDocumentBuilder() which does not disable parsing of DTDs, external entities, XInclude, or external resource access directives in XML schemas.

This is an XXE vulnerability affecting applications that use veraPDF's affected APIs to parse or validate untrusted PDFs.

An attacker could craft a PDF that includes crafted XML external entities that when processed by vulnerable consumers could lead to local file disclosure and server-side outbound requests to attacker-controlled endpoints, depending on JVM XML parser behavior and network controls on the host.

Credited to acornall.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries