CVE-2026-54640: Java Saxon Transformerfactory Xxe

A `net.sf.saxon.TransformerFactoryImpl` or `TransformerFactory` was instantiated without secure configuration. Ensure `FEATURE_SECURE_PROCESSING` is enabled, or `ACCESS_EXTERNAL_DTD` is disabled, to prevent XML External Entity (XXE) attacks.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2026-54640-java-saxon-transformerfactory-xxe --engine opengrep

Description

A `net.sf.saxon.TransformerFactoryImpl` or `TransformerFactory` was instantiated without secure configuration. Ensure `FEATURE_SECURE_PROCESSING` is enabled, or `ACCESS_EXTERNAL_DTD` is disabled, to prevent XML External Entity (XXE) attacks.