Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23463
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:40 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-23463
Complete source record
{
"id": "1ff14fa19efd9356e733d496242aae7784bbc36ec92c7b9f1a1d516aecb9a554",
"url": "https://osv.dev/vulnerability/CVE-2021-23463",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-23463",
"summary": "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.",
"evidence": "osv:CVE-2021-23463",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-23463",
"aliases": [
"CVE-2021-23463",
"GHSA-7rpj-hg47-cx62",
"SNYK-JAVA-COMH2DATABASE-1769238"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/h2database/h2database",
"type": "GIT",
"events": [
{
"introduced": "2b8fa36798a2f142d3b8eacf89b7da00645a6f75"
},
{
"fixed": "bb50243925f1707495d0b8e06a3e0e6caeed17ed"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.4.198"
},
{
"fixed": "2.0.202"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"version-1.4.200",
"version-1.4.199",
"version-1.4.198"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23463.json"
}
}
],
"modified": "2026-10-20T10:54:32.313079714Z",
"provider": "osv",
"references": [
"https://www.oracle.com/security-alerts/cpuapr2022.html",
"https://security.netapp.com/advisory/ntap-20230818-0010/",
"https://github.com/h2database/h2database/commit/d83285fd2e48fb075780ee95badee6f5a15ea7f8%23diff-008c2e4462609982199cd83e7cf6f1d6b41296b516783f6752c44b9f15dc7bc3",
"https://github.com/h2database/h2database/issues/3195",
"https://github.com/h2database/h2database/pull/3199",
"https://snyk.io/vuln/SNYK-JAVA-COMH2DATABASE-1769238"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-23463",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385511,
"published_at": "2021-12-10T20:15:07.917+00:00"
}