VYPR
Critical severity9.8NVD Advisory· Published Jan 17, 2022· Updated Apr 16, 2026

CVE-2022-0239

CVE-2022-0239

Description

corenlp is vulnerable to Improper Restriction of XML External Entity Reference

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
edu.stanford.nlp:stanford-corenlpMaven
< 4.4.04.4.0

Affected products

1

Patches

1
1940ffb938dc

Fix XML schema vulnerability

https://github.com/stanfordnlp/corenlpHaxatronJan 16, 2022via ghsa
1 file changed · +1 0
  • src/edu/stanford/nlp/util/XMLUtils.java+1 0 modified
    @@ -302,6 +302,7 @@ public static DocumentBuilder getValidatingXmlParser(File schemaFile) {
           DocumentBuilderFactory dbf = safeDocumentBuilderFactory();
     
           SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    +      factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
           Schema schema = factory.newSchema(schemaFile);
           dbf.setSchema(schema);
     
    

Vulnerability mechanics

Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

7

News mentions

0

No linked articles in our index yet.