Mittel

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

  • Veröffentlicht: 29.07.2026
  • Aktualisiert: 11.10.2026 12:22

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.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Java / Kotlin (Maven) org.verapdf:validation-model >= 1.17.35, < 1.30.2, >= 1.31.1, < 1.31.71 1.30.2, 1.31.71
Java / Kotlin (Maven) org.verapdf:validation-model-jakarta >= 1.17.35, < 1.30.2, >= 1.31.1, < 1.31.71 1.30.2, 1.31.71

Verweise

CVSS-Wert 6.5/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Schwäche (CWE)
CWE-611
Plattform
Java / Kotlin (Maven)
Paket
org.verapdf:validation-model, org.verapdf:validation-model-jakarta
Veröffentlicht
29.07.2026
Aktualisiert
11.10.2026 12:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-cg9x-g3gm-h5h6 - CC BY 4.0

Schwachstellenhistorie: org.verapdf:validation-model

Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
3
Erste → letzte
07.2026 07.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 2
  • Mittel 1

Veröffentlichungen pro Jahr

  1. 2026: 3
  1. veraPDF-validatio: Use of Default `DocumentBuilderFactory` leads to XXE When Processing Untrusted PDFs dieser Eintrag
    Mittel · 6.5 CVE-2026-54082 >= 1.17.35, < 1.30.2, >= 1.31.1, < 1.31.71 1.30.2, 1.31.71
  2. Hoch CVE-2026-54078 >= 1.25.73, < 1.30.2, >= 1.31.1, < 1.31.71 1.30.2, 1.31.71
  3. Hoch CVE-2026-54079 >= 1.17.35, < 1.30.2, >= 1.31.1, < 1.31.71 1.30.2, 1.31.71

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.