Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft PDF with malicious /RC rich-text entity
-
DeliverySubmit PDF to veraPDF validation service
-
ExploitDocumentBuilderFactory resolves external entity
-
ExecutiongetAllNodeText concatenates entity contents
-
ImpactFile contents or SSRF response returned in report
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 veraPDF's validation-model (or validation-model-jakarta) actually parse an attacker-controlled PDF containing a markup annotation with a crafted rich-text /RC or /RV entry holding a DOCTYPE/external-entity payload; a single such annotation is sufficient and no authentication or special PDF feature toggle is needed on veraPDF's side because the vulnerable code path runs during normal validation. The practical limiting factor is deployment context, not the payload: the attacker must be able to get their PDF in front of the validator, so risk is real only where veraPDF processes untrusted/externally-sourced PDFs (e.g., an upload portal or automated archival pipeline). For in-band data theft the validation report must be visible to the attacker; blind SSRF/file-read is still possible if it is not. File-read scope is bounded by the OS permissions of the process running veraPDF, and SSRF reach is bounded by the host's outbound network access. |
| Impact | No CVSS vector, EPSS score, or SSVC decision data was provided in the input, so quantitative exploitability signals are absent and cannot be compared. Qualitatively, the vulnerability class and description point to a high-impact, low-complexity issue: exploitation requires only that a target validate an attacker-supplied PDF, which is precisely what a PDF/A validation service is built to do, and the in-band reflection of entity contents removes the usual out-of-band exfiltration hurdle. The real-world risk is strongly gated by deployment: veraPDF used as an interactive desktop/CLI tool by a human validating their own files is low risk, whereas veraPDF embedded in an automated, network-facing ingestion or archival pipeline that validates untrusted uploads is a genuine remote file-read and SSRF exposure. It is not in CISA KEV and no POC is referenced, so this is not confirmed active exploitation - priority should be driven by whether you run veraPDF against untrusted PDFs, not by a (missing) headline CVSS number. |
| Exploit ScenarioDerived | An attacker uploads a PDF containing a single markup annotation whose /RC rich-text entry embeds an XHTML body with a malicious DOCTYPE and an external entity such as <!ENTITY x SYSTEM "file:///etc/passwd">. When the veraPDF service validates the file, the DOM parser resolves the entity and the concatenated text - the file's contents or an SSRF response from an internal URL - is reflected back in the validation report. No exploit code is publicly referenced, but the technique is standard XXE and requires no authentication beyond the ability to submit a file for validation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
Arbitrary file disclosure and Server-Side Request Forgery in veraPDF's validation-model module allow a remote attacker to read files off the validating host and force outbound requests by feeding it a crafted PDF. The flaw lives in DictionaryKeysHelper.getRichTextStringOrStreamEntryStringRepresentation(), which parses XHTML rich-text (/RC or /RV) annotation content with a default, unhardened DocumentBuilderFactory that resolves external entities and then reflects the expanded entity contents back into the validation report. All current releases of both the classic (org.verapdf:validation-model) and Jakarta (validation-model-jakarta) artifacts are affected; there is no public exploit identified at time of analysis and it is not listed in CISA KEV, though the vendor advisory (GHSA-3jh7-wm29-q568) describes exploitation as trivial.
RemediationAI
Vendor-released patch: upgrade to 1.30.2 (for the 1.25.73-1.30.1 branch) or 1.31.71 (for the 1.31.1-1.31.70 branch) of both org.verapdf:validation-model and org.verapdf:validation-model-jakarta, per advisory https://github.com/veraPDF/veraPDF-validation/security/advisories/GHSA-3jh7-wm29-q568. The fix hardens DocumentBuilderFactory in DictionaryKeysHelper.java to disallow DOCTYPE declarations outright following the OWASP XXE Prevention Cheat Sheet. If you cannot upgrade immediately, compensating controls are to stop validating untrusted PDFs on any host with sensitive files or internal network reachability, and to apply egress network filtering (block outbound file access is not applicable, but block the validation host's outbound HTTP/HTTPS and to internal ranges) so that even a successful DOCTYPE parse cannot reach internal services or exfiltrate via SSRF - the trade-off being that legitimate remote resource fetches during validation, if any, would also be blocked. Running the validator as an unprivileged, sandboxed/containerized user with a minimal filesystem view limits which files an XXE can read.
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
This is a classic XML External Entity Injection (CWE-611). veraPDF is a PDF/A and PDF/UA conformance validator; its validation-model module inspects PDF structures, including markup-annotation rich-text streams that carry an XHTML body. To extract the plain text of that body, the code builds a JAXP/Xerces DOM parser via DocumentBuilderFactory using default settings - it does not set disallow-doctype-decl, does not disable external general or parameter entities, does not enable FEATURE_SECURE_PROCESSING, and installs no restrictive EntityResolver. Consequently the parser honors inline <!DOCTYPE ...> and <!ENTITY ... SYSTEM "..."> declarations. A second amplifying issue is that getAllNodeText() recursively concatenates every text node and returns it as a model property, so the resolved external-entity payload (file:// contents or an http:// SSRF response body) is echoed straight into the validation output - turning a blind XXE into an in-band data-exfiltration primitive. The affected packages are the Maven coordinates org.verapdf:validation-model and org.verapdf:validation-model-jakarta.
Know when Java gets its next vulnerability
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
A network-reachable validator processes the malicious PDF with no auth or user interaction (AV:N/AC:L/PR:N/UI:N); primary impact is arbitrary file read and SSRF reflected in-band, so C:H with I/A none.
Primary rating from Vendor (https://github.com/veraPDF/veraPDF-validation).
CVSS VectorVendor: https://github.com/veraPDF/veraPDF-validation
Lifecycle Timeline
2DescriptionCVE.org
Summary
Description An XML External Entity Injection (CWE-611) vulnerability in veraPDF allows a remote attacker to read arbitrary files on the server file system and perform Server-Side Request Forgery by submitting a crafted PDF containing a malicious rich-text (/RC or /RV) entry. This affects all current versions of veraPDF-validation.
Details
The vulnerability resides in veraPDF-validation validation-model/src/main/java/org/verapdf/gf/model/tools/DictionaryKeysHelper.java within the getRichTextStringOrStreamEntryStringRepresentation() method. This helper extracts the XHTML rich-text body from a PDF dictionary string or stream and parses it with a DOM parser to return the concatenated text content.
The vulnerability stems from two combined issues:
- The DocumentBuilderFactory is instantiated with default settings , no disallow-doctype-decl, no disabling of external general/parameter entities, no FEATURE_SECURE_PROCESSING, and no secure EntityResolver. The default JAXP/Xerces parser will therefore resolve
<!DOCTYPE … SYSTEM "…">and<!ENTITY … SYSTEM "…">declarations. - After parsing,
getAllNodeText()recursively concatenates every text node in the document and returns it as the model property value. This means the expanded contents of any external entity are reflected directly back into the validation report.
Impact
This impacts all current releases of the veraPDF validation-model module.
Successful exploitation requires only that the target validate an attacker-supplied PDF. A single markup annotation with a crafted /RC string is sufficient.
Proposed Patch
Harden the DocumentBuilderFactory in validation-model/src/main/java/org/verapdf/gf/model/tools/DictionaryKeysHelper.java per the OWASP XXE Prevention Cheat Sheet to disallow DOCTYPE outright.
Executive ViewAI
veraPDF, a PDF validation tool used across organizations for document processing, contains a critical vulnerability allowing remote attackers to extract sensitive files and manipulate outbound network requests from affected servers. No public exploit identified at time of analysis, though the threat is immediate given that all current software versions are affected and no vendor patch exists. Organizations must take urgent action to inventory deployments and implement containment controls.
Restrict veraPDF input to PDFs from trusted internal sources only; implement firewall-level egress filtering to block unauthorized outbound connections from validation servers; isolate PDF validation infrastructure on dedicated network segments with minimal access to sensitive data repositories and critical systems; disable or harden external entity resolution at the application and OS levels; establish continuous logging and alerting on all network connections initiated by veraPDF processes.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-50369
GHSA-3jh7-wm29-q568
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB