Security mailing lists by PureSourceCode

CVE-2021-23463

CRITICAL 9.1CVSS 3.1

Improper Restriction of XML External Entity Reference in com.h2database:h2.

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
10 Dec 2021
Last modified
8 Jul 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-611
Also known as
GHSA-7rpj-hg47-cx62SNYK-JAVA-COMH2DATABASE-1769238
Sources
NVDJSONOSV GHSA-7rpj-hg47-cx62JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.4 AV:N/AC:L/Au:N/C:P/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD h2database h2
cpe:2.3:a:h2database:h2:*:*:*:*:*:*:*:*
>= 1.4.198, < 2.0.202 2.0.202
OSV Maven com.h2database:h2 >= 1.4.198, < 2.0.202 2.0.202

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 10 Dec 2021)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Dec 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.