The vulnerability stems from insecure XML parsing configurations across multiple components. The commit diffs show patches adding security measures like disabling external entities (IS_SUPPORTING_EXTERNAL_ENTITIES=false) and DTDs (SUPPORT_DTD=false) via XMLInputFactory, securing TransformerFactory with FEATURE_SECURE_PROCESSING, and implementing secure DocumentBuilderFactory configurations. The original vulnerable functions performed XML processing without these critical security settings, enabling XXE attacks. Each identified function corresponds to pre-patch code locations where these security properties were missing, as evidenced by the added security configurations in the patches.