Camunda versions 7.24.0 before 7.24.14 and 7.23.0 before 7.23.17 contain an XML External Entity (XXE) injection vulnerability in the camunda-external-task-client component. This vulnerability arises because the defaultDocumentBuilderFactory() method does not disable external entity resolution when parsing XML serialized object variables. An attacker who can write a process variable may exploit this to cause arbitrary file reads and out-of-band HTTP requests from worker JVMs, potentially exposing sensitive credentials and private keys.