CVE-2024-52800: Core VeraPDF CLI Has Potential XXE Vulnerability
LOWCVE-2024-52800 is a LOW verapdf cli has potential xxe vulnerability (CWE-611: Improper Restriction of XML External Entity Reference) affecting Core libraries in the Maven ecosystem. The issue involves verapdf cli has potential xxe (xml external entity injection) vulnerability. Remediation is available by upgrading affected packages to version 1.26.2.
CVE-2024-52800 at a Glance
How to Fix CVE-2024-52800
To remediate this vulnerability, upgrade all affected Core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>core</artifactId>
<version>1.26.2</version>
</dependency>
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>core-jakarta</artifactId>
<version>1.26.2</version>
</dependency>
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>core-arlington</artifactId>
<version>1.26.2</version>
</dependency>
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>verapdf-library</artifactId>
<version>1.26.2</version>
</dependency>
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>verapdf-library-jakarta</artifactId>
<version>1.26.2</version>
</dependency>
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>verapdf-library-arlington</artifactId>
<version>1.26.2</version>
</dependency>
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>library</artifactId>
<version>1.26.2</version>
</dependency>
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>library-jakarta</artifactId>
<version>1.26.2</version>
</dependency>
<dependency>
<groupId>org.verapdf</groupId>
<artifactId>library-arlington</artifactId>
<version>1.26.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.verapdf
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-52800, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.verapdf
Analyze the terminal output to locate any version of Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.26.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.verapdf command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-611: Improper Restriction of XML External Entity Reference, where the product processes an xml document that can contain xml entities with uris that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. In Core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-52800 Affected Core Versions
9 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.verapdf:core
|
Maven |
< 1.26.2
|
1.26.2
|
|
org.verapdf:core-jakarta
|
Maven |
< 1.26.2
|
1.26.2
|
|
org.verapdf:core-arlington
|
Maven |
< 1.26.2
|
1.26.2
|
|
org.verapdf:verapdf-library
|
Maven |
< 1.26.2
|
1.26.2
|
|
org.verapdf:verapdf-library-jakarta
|
Maven |
< 1.26.2
|
1.26.2
|
|
org.verapdf:verapdf-library-arlington
|
Maven |
< 1.26.2
|
1.26.2
|
|
org.verapdf:library
|
Maven |
< 1.26.2
|
1.26.2
|
|
org.verapdf:library-jakarta
|
Maven |
< 1.26.2
|
1.26.2
|
|
org.verapdf:library-arlington
|
Maven |
< 1.26.2
|
1.26.2
|
References
Frequently Asked Questions
What is CVE-2024-52800?
Which Core versions are affected?
What version fixes CVE-2024-52800?
Is core affected?
Is core-jakarta affected?
What CWE is associated with CVE-2024-52800?
How can I check Maven dependencies for CVE-2024-52800?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4cx5-89vm-833x",
"modified" : "2026-05-14T20:44:45Z",
"published" : "2024-12-02T17:15:24Z",
"aliases" : [ "CVE-2024-52800" ],
"summary" : "veraPDF CLI has potential XXE (XML External Entity Injection) vulnerability",
"details" : "### Impact\nExecuting policy checks using custom schematron files via the CLI invokes an XSL transformation that may theoretically lead to a remote code execution (RCE) vulnerability.\n\n### Patches\nWe are currently working on a patch that will be released when ready.\n\n### Workarounds\nThis 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.\n\n### References\nOriginal issue: #1488",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.verapdf:core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.26.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.26.1"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.verapdf:core-jakarta"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.26.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.26.1"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.verapdf:core-arlington"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.26.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.26.1"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.verapdf:verapdf-library"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.26.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.26.1"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.verapdf:verapdf-library-jakarta"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.26.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.26.1"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.verapdf:verapdf-library-arlington"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.26.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.26.1"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.verapdf:library"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.26.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.26.1"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.verapdf:library-jakarta"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.26.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.26.1"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.verapdf:library-arlington"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.26.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 1.26.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/veraPDF/veraPDF-library/security/advisories/GHSA-4cx5-89vm-833x"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-52800"
}, {
"type" : "WEB",
"url" : "https://github.com/veraPDF/veraPDF-library/issues/1488"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/veraPDF/veraPDF-library"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-611" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-02T17:15:24Z",
"nvd_published_at" : "2024-11-29T19:15:08Z"
}
}