8.1high
Potential XSLT injection vulnerability when using policy files
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.03% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qxqf-2mfx-x8jw
Description
veraPDF-library is a PDF/A validation library. Executing policy checks using custom schematron files invokes an XSL transformation that could lead to a remote code execution (RCE) vulnerability. This vulnerability is fixed in 1.24.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| veraPDF veraPDF-library | < 1.24.2, before 1.24.2 | CVE List |
| org.verapdf:core (Maven) | before 1.24.2 | GitHub Advisory Database |
| org.verapdf:core-jakarta (Maven) | before 1.24.2 | GitHub Advisory Database |
| org.verapdf:core-arlington (Maven) | before 1.25.127 | GitHub Advisory Database |
| org.verapdf:verapdf-library-arlington (Maven) | before 1.25.127 | GitHub Advisory Database |
| org.verapdf:verapdf-library (Maven) | before 1.24.2 | GitHub Advisory Database |
| org.verapdf:verapdf-library-jakarta (Maven) | before 1.24.2 | GitHub Advisory Database |
| org.verapdf:library-arlington (Maven) | before 1.25.127 | GitHub Advisory Database |
| org.verapdf:library (Maven) | before 1.24.2 | GitHub Advisory Database |
| org.verapdf:library-jakarta (Maven) | before 1.24.2 | GitHub Advisory Database |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
veraPDF-library is a PDF/A validation library. Executing policy checks using custom schematron files invokes an XSL transformation that could lead to a remote code execution (RCE) vulnerability. This vulnerability is fixed in 1.24.2.
GitHub Advisory Database
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: https://github.com/veraPDF/veraPDF-library/issues/1415
NVD (es)
veraPDF-library es una librería de validación de PDF/A. La ejecución de comprobaciones de políticas utilizando archivos de esquema personalizados invoca una transformación XSL que podría provocar una vulnerabilidad de ejecución remota de código (RCE). Esta vulnerabilidad se solucionó en 1.24.2.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-28109 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qxqf-2mfx-x8jw changed 2026-05-14 | CC-BY-4.0 |
| NVD | CVE-2024-28109 changed 2026-06-17 | Public domain |