Skip to main content

Improper Restriction of XML External Entity Reference

CVE-2021-23463

Severity High
Score 9.1/10

Summary

The package "com.h2database:h2" versions 1.4.198 through 1.4.200 are vulnerable to XML External Entity (XXE) injection via the "org.h2.jdbc.JdbcSQLXML" class. The vulnerability is triggered when parsed string data is retrieved using the "org.h2.jdbc.JdbcResultSet.getSQLXML()" method. If the "getSource()" method is then called with the parameter "DOMSource.class", it can lead to the execution of external entities, resulting in an XXE vulnerability.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-611 - Improper Restriction of XML External Entity Reference

Listed 4th in the 'OWASP Top Ten', XML External Entities (XXE) vulnerability allows attackers to provide an XML input that contains an external entity. When the XML is parsed, it can cause data extraction and manipulation, execution of commands, denial-of-service attacks, and server-side request forgery.

Advisory Timeline

  • Published