XML External Entity injection in Postgresql JDBC Driver - #VU169737
Published: November 23, 2026
Vulnerability details
The vulnerability allows a remote user to make the application send requests to a URL of their choice.
The vulnerability exists due to improper restriction of XML external entity references in pgjdbc's default XML factory, which leaves its SAXSource XMLReader without an entity resolver when parsing with a SAX driver that ignores the configured restrictions. A remote user can store XML that references an external DTD to trigger an outbound request when the application parses the value through SAXSource.