The package com.h2database:h2 from 0 and before 2.0.202 are vulnerable to XML External Entity (XXE) Injection via the org.h2.jdbc.JdbcSQLXML class object, when it receives parsed string data from org.h2.jdbc.JdbcResultSet.getSQLXML() method. If it executes the getSource() method when the parameter is DOMSource.class it will trigger the vulnerability. References: https://github.com/h2database/h2database/issues/3195 https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238 Upstream patch: https://github.com/h2database/h2database/pull/3199
Affected component found in service registry. Code not reviewed to determine if method is in use.