{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-23463","id":"CVE-2021-23463","title":"XML External Entity (XXE) Injection","description":"The package com.h2database:h2 from 1.4.198 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.","descriptionLong":"The package com.h2database:h2 from 1.4.198 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.","published":"2021-12-10T20:00:14.594Z","updated":"2026-10-20T10:54:32.313079714Z","reserved":"2021-01-08T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H/E:P","rating":"high","source":"snyk"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H/E:P","rating":"high","source":"snyk"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"snyk.io"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["com.h2database:h2"],"affectedProducts":[{"vendor":"n/a","product":"com.h2database:h2","defaultStatus":null,"versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","lessThan":"2.0.202","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"com.h2database:h2","purl":"pkg:maven/com.h2database/h2","ranges":[">=1.4.198 <2.0.202"],"fixed":["2.0.202"],"advisory":"GHSA-7rpj-hg47-cx62"}],"cwes":["CWE-611"],"aliases":["GHSA-7rpj-hg47-cx62","SNYK-JAVA-COMH2DATABASE-1769238"],"references":[{"url":"https://github.com/h2database/h2database/issues/3195","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238","tags":["x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/h2database/h2database/pull/3199","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3","tags":["x_transferred","Broken Link","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_transferred","Not Applicable","web"]},{"url":"https://security.netapp.com/advisory/ntap-20230818-0010/","tags":["x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23463","tags":["advisory"]},{"url":"https://github.com/h2database/h2database/pull/3199#issuecomment-1002830390","tags":["web"]},{"url":"https://github.com/boris-unckel/h2database/commit/f9ad6aef2bfa59eba2b4d3e7c4c32d2cce8e8b05","tags":["web"]},{"url":"https://github.com/h2database/h2database","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20230818-0010","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02787,"epssPercentile":0.86707,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-23463","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23463","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-23463","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7rpj-hg47-cx62","ok":true,"note":"GHSA-7rpj-hg47-cx62"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-23463","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}