CVE-2022-0239
Java vulnerability analysis and mitigation

Overview

CVE-2022-0239 is a security vulnerability identified in Stanford CoreNLP, affecting the XML schema processing functionality. The vulnerability was discovered and disclosed in January 2022, specifically affecting the XML External Entity Reference handling in CoreNLP (CVE, NVD).

Technical details

The vulnerability stems from improper restriction of XML External Entity Reference in CoreNLP. The issue was addressed by enabling secure processing feature for XML schema factory, as evidenced by the fix which added factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true) to the XML processing configuration (GitHub Commit).

Impact

When exploited, this vulnerability could potentially allow an attacker to process malicious XML external entities, which could lead to unauthorized access to system files, server-side request forgery (SSRF), or denial of service conditions (Huntr).

Mitigation and workarounds

The vulnerability has been patched by implementing secure XML processing features. Users should update to the patched version of CoreNLP that includes the security fix (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-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-54981HIGH7.5
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-67721MEDIUM6.3
  • JavaJava
  • trino
NoYesDec 12, 2025
CVE-2025-53960MEDIUM5.9
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025
CVE-2025-54947MEDIUM5.3
  • JavaJava
  • org.apache.streampark:streampark
NoYesDec 12, 2025

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