GitHub Advisoryadvisory · Maven

GHSA-qxqf-2mfx-x8jw veraPDF has potential XSLT injection vulnerability when using policy files

HIGH Published 2024-05-20 Modified 2026-05-14 Official page ↗
Aliases
CVE-2024-28109
Ecosystem
Maven
Packages
org.verapdf:core, org.verapdf:core-jakarta, org.verapdf:core-arlington, org.verapdf:verapdf-library-arlington, org.verapdf:verapdf-library, org.verapdf:verapdf-library-jakarta, org.verapdf:library-arlington, org.verapdf:library, org.verapdf:library-jakarta
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-91
Reviewed
2024-05-20

Affected packages

• Maven org.verapdf:core: < 1.24.2 → fixed in 1.24.2 • Maven org.verapdf:core-jakarta: < 1.24.2 → fixed in 1.24.2 • Maven org.verapdf:core-arlington: < 1.25.127 → fixed in 1.25.127 • Maven org.verapdf:verapdf-library-arlington: < 1.25.127 → fixed in 1.25.127 • Maven org.verapdf:verapdf-library: < 1.24.2 → fixed in 1.24.2 • Maven org.verapdf:verapdf-library-jakarta: < 1.24.2 → fixed in 1.24.2 • Maven org.verapdf:library-arlington: < 1.25.127 → fixed in 1.25.127 • Maven org.verapdf:library: < 1.24.2 → fixed in 1.24.2 • Maven org.verapdf:library-jakarta: < 1.24.2 → fixed in 1.24.2

Description

Impact Executing policy checks using custom schematron files invokes an XSL transformation that may theoretically lead to a remote code execution (RCE) vulnerability. Patches This has been patched and users should upgrade to veraPDF v1.24.2 Workarounds This doesn't affect the standard validation and policy checks functionality, veraPDF's common use cases. Most veraPDF users don't insert any custom XSLT code into policy profiles, which are based on Schematron syntax rather than direct XSL transforms. For users who do, only load custom policy files from sources you trust. References Original issue:

Related

Alias · CVE (1)

  • CVE-2024-28109 veraPDF-library is a PDF/A validation library. vulnerability

Weakness · CWE (1)

  • CWE-91 XML Injection weakness

References