CVE-2022-23640
Java vulnerability analysis and mitigation

Overview

Excel-Streaming-Reader, an implementation of a streaming Excel reader using Apache POI, was found to contain a critical XML External Entity (XXE) vulnerability identified as CVE-2022-23640. The vulnerability was discovered in versions prior to 2.1.0, where the XML parser did not properly implement settings to prevent XML Entity Expansion issues (GitHub Advisory).

Technical details

The vulnerability stems from the XML parser's default configuration that allowed entity expansion, which could be exploited through maliciously crafted Excel files. The issue was specifically related to the Xerxes XML parsing library used by Excel Streaming Reader, which defaulted to allowing entity expansion without proper restrictions (GitHub Commit).

Impact

An attacker could potentially exploit this vulnerability to read arbitrary data from the target system through XML External Entity (XXE) attacks. The vulnerability was classified as Critical severity, indicating its significant potential impact on system security (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 2.1.0 of Excel-Streaming-Reader. The fix includes throwing a ParsingException if a workbook contains an XML document with an entity declaration. Users are strongly advised to update to version 2.1.0 as soon as possible, as there are no known workarounds for this vulnerability (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68931HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68703HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68704HIGH8.2
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-66169MEDIUM6.9
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2025-68925MEDIUM6.9
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management