Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft PDF with XXE entity targeting local file or SSRF endpoint
-
DeliverySubmit PDF to veraPDF-consuming service endpoint
-
ExploitInvoke PDFAValidator.validate() or getdynamicRender() on PDF
-
ExecutionUnconfigured DocumentBuilder expands external entity
-
PersistJVM resolves file:// or http:// URI
-
ImpactExfiltrate resolved content via SSRF callback or response channel
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application passes attacker-controlled PDF content to either PDFAValidator.validate(...) or GFPDAcroForm(acroForm).getdynamicRender() using a vulnerable version of org.verapdf:validation-model or org.verapdf:validation-model-jakarta (1.17.35-1.30.1 or 1.31.1-1.31.70). The PDF must contain XML-formatted content in one of two specific structures: rich-text annotation or form-field values (triggering DictionaryKeysHelper) or XFA form configuration data (triggering GFPDAcroForm). No special server-side configuration is required beyond having the vulnerable library version on the classpath. Exploitation is bounded by the OS-level permissions of the JVM process for file disclosure, and by host network egress controls for SSRF; the JVM security manager, if enabled, may also restrict external resource access. Downstream application-level authentication limits which users can submit PDFs but does not mitigate the vulnerability once a PDF reaches the parsing layer. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N scores 6.5 (Medium), but the practical impact warrants closer scrutiny. C:L and I:L in the context of XXE translate to arbitrary local file reads - including application configuration files, secrets, and OS-level files such as /etc/passwd or cloud credential stores - and SSRF to internal network endpoints. In containerized or cloud environments, SSRF may reach instance metadata services (e.g., AWS IMDSv1 at 169.254.169.254), escalating the effective severity well beyond the base score. Attack complexity is genuinely low: XXE payload construction is trivial and extensively documented. No EPSS score was provided in the input, and no CISA KEV listing exists, so exploitation probability cannot be precisely quantified from available intelligence. The CVSS PR:N designation reflects that no authentication is required at the library level; downstream applications may impose their own authentication before the vulnerable API is reached, which would limit exposure to authenticated users. The actual risk is highest for any internet-facing service that accepts and validates user-supplied PDF files without authentication, such as document compliance portals or PDF ingestion pipelines. |
| Exploit ScenarioDerived | An attacker submits a crafted PDF to a document management portal that uses veraPDF to validate uploaded files; the PDF contains an XFA form with an XML external entity declaration pointing to file:///etc/passwd or an SSRF target such as http://169.254.169.254/latest/meta-data/. When the portal calls PDFAValidator.validate() on the uploaded file, the unprotected DocumentBuilder resolves the external entity, and the attacker exfiltrates the resolved content by triggering an outbound HTTP callback to an attacker-controlled server carrying the file data in the request body or URL. No authentication at the library level is required, so any user permitted to upload a PDF to the service can execute this attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
XML External Entity injection in veraPDF-validation's PDF parsing layer allows unauthenticated remote attackers to read arbitrary local files from the server or trigger outbound server-side requests to attacker-controlled endpoints by supplying crafted PDF documents. The two vulnerable code paths - PDFAValidator.validate() and GFPDAcroForm.getdynamicRender() - both use an unconfigured DocumentBuilderFactory that permits full DTD and external entity expansion. Patches are confirmed in versions 1.30.2 and 1.31.71; no public exploit or CISA KEV listing was identified at time of analysis.
RemediationAI
Upgrade org.verapdf:validation-model or org.verapdf:validation-model-jakarta to version 1.30.2 if running on the 1.17.35-1.30.x branch, or to version 1.31.71 if on the 1.31.x branch; these are the vendor-released patched versions confirmed by the GitHub Security Advisory at https://github.com/veraPDF/veraPDF-validation/security/advisories/GHSA-cg9x-g3gm-h5h6 and implemented in PR #730 (https://github.com/veraPDF/veraPDF-validation/pull/730). If immediate upgrade is not feasible, two compensating controls reduce impact without eliminating the flaw: first, apply network egress restrictions on the JVM process to block outbound HTTP/HTTPS, which prevents SSRF exfiltration but does not stop local file disclosure; second, run the veraPDF process under an OS user with minimal filesystem permissions, limiting the scope of any file read to non-sensitive paths. Disabling XFA form processing or rich-text annotation handling at the application configuration level, if those features are not required, removes the affected parsing surface entirely. None of these workarounds substitute for patching, as they address impact rather than the root cause.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
veraPDF is an open-source Java-based PDF/A validator distributed as Maven artifacts org.verapdf:validation-model and org.verapdf:validation-model-jakarta. The root cause (CWE-611: Improper Restriction of XML External Entity Reference) manifests in two distinct Java source files: GFPDAcroForm.java processes XFA form configurations, while DictionaryKeysHelper.java processes rich-text annotation and form-field values. Both call DocumentBuilderFactory.newInstance().newDocumentBuilder() without applying any hardening - they fail to disable DOCTYPE/DTD processing, external entity expansion, XInclude, or external schema access. Java's default DocumentBuilder is fully permissive in these respects. The confirmed fix (PR #730, commits 94caa46c and cacd9436) replaces both insecure factory calls with SecureXML.newSafeDocumentBuilder() from org.verapdf.xmp.tools.SecureXML, a utility that configures the factory with standard security features. The vulnerability surfaces specifically when the parser encounters XML-formatted content within PDF structures such as XFA forms or rich-text annotation values that contain external entity declarations.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
PDF submitted remotely without auth triggers XXE; I:L reflects SSRF potential for indirect internal-state modification; A:N as parsing does not crash the service.
Primary rating from Vendor (https://github.com/veraPDF/veraPDF-validation).
CVSS VectorVendor: https://github.com/veraPDF/veraPDF-validation
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
EUVD-2026-50370
GHSA-cg9x-g3gm-h5h6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB