{"id":"CVE-2024-52800","published":"2024-11-29T18:20:27Z","modified":"2024-12-02T11:19:36Z","title":"Potential XXE (XML External Entity Injection) vulnerability in veraPDF CLI","vendor":"veraPDF","product":"veraPDF-library","tier":"tail","description":{"text":"veraPDF is an open source PDF/A validation library. Executing policy checks using custom schematron files via the CLI invokes an XSL transformation that may theoretically lead to a remote code execution (RCE) vulnerability. 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. This issue has not yet been patched. Users are advised to be cautious of XSLT code until a patch is available.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01108,"percentile":0.66685,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/veraPDF/veraPDF-library/security/advisories/GHSA-4cx5-89vm-833x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/veraPDF/veraPDF-library/issues/1488","tags":["x_refsource_MISC"]}],"priority":{"score":19.9,"factors":[{"name":"EPSS percentile","points":13.34},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":1.61}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-11-30","earliestUrl":"https://github.com/JAckLosingHeart/GHSA-4cx5-89vm-833x-POC","repos":[{"name":"JAckLosingHeart/GHSA-4cx5-89vm-833x-POC","url":"https://github.com/JAckLosingHeart/GHSA-4cx5-89vm-833x-POC","stars":0,"created":"2024-11-30"}]},"first":{"date":"2024-11-30","source":"PoC-in-GitHub","url":"https://github.com/JAckLosingHeart/GHSA-4cx5-89vm-833x-POC"},"provenance":"source"},"vendorSlug":"verapdf","affectedVersions":[{"vendor":"veraPDF","product":"veraPDF-library","versions":["<= 1.26.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-02T11:17:25.404338Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.verapdf:core","vulnerableRanges":["<1.26.2"],"patched":["1.26.2"],"from":["GHSA-4cx5-89vm-833x"],"provenance":"source"},{"ecosystem":"Maven","package":"org.verapdf:core-jakarta","vulnerableRanges":["<1.26.2"],"patched":["1.26.2"],"from":["GHSA-4cx5-89vm-833x"],"provenance":"source"},{"ecosystem":"Maven","package":"org.verapdf:core-arlington","vulnerableRanges":["<1.26.2"],"patched":["1.26.2"],"from":["GHSA-4cx5-89vm-833x"],"provenance":"source"},{"ecosystem":"Maven","package":"org.verapdf:verapdf-library","vulnerableRanges":["<1.26.2"],"patched":["1.26.2"],"from":["GHSA-4cx5-89vm-833x"],"provenance":"source"},{"ecosystem":"Maven","package":"org.verapdf:verapdf-library-jakarta","vulnerableRanges":["<1.26.2"],"patched":["1.26.2"],"from":["GHSA-4cx5-89vm-833x"],"provenance":"source"},{"ecosystem":"Maven","package":"org.verapdf:verapdf-library-arlington","vulnerableRanges":["<1.26.2"],"patched":["1.26.2"],"from":["GHSA-4cx5-89vm-833x"],"provenance":"source"},{"ecosystem":"Maven","package":"org.verapdf:library","vulnerableRanges":["<1.26.2"],"patched":["1.26.2"],"from":["GHSA-4cx5-89vm-833x"],"provenance":"source"},{"ecosystem":"Maven","package":"org.verapdf:library-jakarta","vulnerableRanges":["<1.26.2"],"patched":["1.26.2"],"from":["GHSA-4cx5-89vm-833x"],"provenance":"source"},{"ecosystem":"Maven","package":"org.verapdf:library-arlington","vulnerableRanges":["<1.26.2"],"patched":["1.26.2"],"from":["GHSA-4cx5-89vm-833x"],"provenance":"source"}],"summary":{"text":"The veraPDF-library, the open source PDF/A validation library used through its CLI, contains an XML External Entity injection flaw that surfaces when custom Schematron policy files are executed, because doing so invokes an XSL transformation. An attacker who can get a user to load a malicious custom policy file, which requires user interaction and a network-reachable source for that file, could potentially trigger remote code execution, though the standard validation and policy checks are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:35Z"},"euvd":{"id":"EUVD-2024-3420","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-28109","published":"2024-03-28","fixed":"1.24.2","kev":false,"link":{"from":"CVE-2024-28109","to":"CVE-2024-52800","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.verapdf:core","fromFixed":"1.24.2","toFixed":"1.26.2","daysApart":246},{"kind":"version-step","provenance":"source","package":"Maven:org.verapdf:core-jakarta","fromFixed":"1.24.2","toFixed":"1.26.2","daysApart":246}]}},{"cve":"CVE-2024-52800","published":"2024-11-29","fixed":"1.26.2","kev":false}],"package":"Maven:org.verapdf:core"}}