CVE-2024-28109: veraPDF has potential XSLT injection vulnerability when using policy files
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.
Published May 20, 2024 · Updated May 14, 2026
Affected packages
org.verapdf:core
- Ecosystem
- Maven
- Affected
- < 1.24.2
- Fixed in
- 1.24.2
- Check
mvn dependency:tree -Dincludes=org.verapdf:core
org.verapdf:core-jakarta
- Ecosystem
- Maven
- Affected
- < 1.24.2
- Fixed in
- 1.24.2
- Check
mvn dependency:tree -Dincludes=org.verapdf:core-jakarta
org.verapdf:core-arlington
- Ecosystem
- Maven
- Affected
- < 1.25.127
- Fixed in
- 1.25.127
- Check
mvn dependency:tree -Dincludes=org.verapdf:core-arlington
org.verapdf:verapdf-library-arlington
- Ecosystem
- Maven
- Affected
- < 1.25.127
- Fixed in
- 1.25.127
- Check
mvn dependency:tree -Dincludes=org.verapdf:verapdf-library-arlington
org.verapdf:verapdf-library
- Ecosystem
- Maven
- Affected
- < 1.24.2
- Fixed in
- 1.24.2
- Check
mvn dependency:tree -Dincludes=org.verapdf:verapdf-library
org.verapdf:verapdf-library-jakarta
- Ecosystem
- Maven
- Affected
- < 1.24.2
- Fixed in
- 1.24.2
- Check
mvn dependency:tree -Dincludes=org.verapdf:verapdf-library-jakarta
org.verapdf:library-arlington
- Ecosystem
- Maven
- Affected
- < 1.25.127
- Fixed in
- 1.25.127
- Check
mvn dependency:tree -Dincludes=org.verapdf:library-arlington
org.verapdf:library
- Ecosystem
- Maven
- Affected
- < 1.24.2
- Fixed in
- 1.24.2
- Check
mvn dependency:tree -Dincludes=org.verapdf:library
org.verapdf:library-jakarta
- Ecosystem
- Maven
- Affected
- < 1.24.2
- Fixed in
- 1.24.2
- Check
mvn dependency:tree -Dincludes=org.verapdf:library-jakarta
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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:
Credited to binary-1024.
References
- https://github.com/veraPDF/veraPDF-library/security/advisories/GHSA-qxqf-2mfx-x8jw
- https://nvd.nist.gov/vuln/detail/CVE-2024-28109
- https://github.com/veraPDF/veraPDF-library/issues/1415
- https://github.com/veraPDF/veraPDF-library/commit/614ffa477a2cf0819e4b0df1ab133610e0da25fb
- https://github.com/veraPDF/veraPDF-library/commit/9386ecbe1a1d1fb9e886d19df28851ed07890d9f
- https://github.com/veraPDF/veraPDF-library/commit/d5314cbdf4e058e0716f80dbdad2dbd8d96e6bfe
- https://github.com/advisories/GHSA-qxqf-2mfx-x8jw
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
