# CVE-2021-3869: Improper Restriction of XML External Entity Reference in Stanford CoreNLP

Source: https://junglewise.ai/threats/cve-2021-3869-improper-restriction-of-xml-external-entity-reference-in-stanford  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2021-3869 · Severity: low · CVSS 3.1 · Published 2022-05-24

Improper Restriction of XML External Entity Reference in Stanford CoreNLP

Technologies: [edu.stanford.nlp:stanford-corenlp (Maven)](https://junglewise.ai/threats/technologies/edu-stanford-nlp-stanford-corenlp). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-3869 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-3869 being exploited in the wild.

**How severe is CVE-2021-3869?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** edu.stanford.nlp:stanford-corenlp (Maven) ECOSYSTEM:introduced=0,fixed=4.3.1.

**Is there a fix for CVE-2021-3869?** Yes. edu.stanford.nlp:stanford-corenlp (Maven): upgrade to 4.3.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-3869?** Check whether you run edu.stanford.nlp:stanford-corenlp (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- edu.stanford.nlp:stanford-corenlp (Maven): upgrade to 4.3.1 or later

  ```sh
  # set edu.stanford.nlp:stanford-corenlp to 4.3.1 in your pom.xml or build.gradle
  ```


## Affected products

- edu.stanford.nlp:stanford-corenlp (Maven) ECOSYSTEM:introduced=0,fixed=4.3.1

## Identifiers

- CVE-2021-3869
- GHSA-8gf7-w3cp-gfh3

## Related threats

- [Improper Restriction of XML External Entity Reference in Stanford CoreNLP](https://junglewise.ai/threats/cve-2021-3878-improper-restriction-of-xml-external-entity-reference-in-stanford)
- [Access Control vulnerability within CoreNLP](https://junglewise.ai/threats/cve-2021-44550-access-control-vulnerability-within-corenlp)
- [Stanford CoreNLP XXE injection in XML parsing](https://junglewise.ai/threats/cve-2022-0239-stanford-corenlp-xxe-injection-in-xml-parsing)
- [XML External Entity Reference in edu.stanford.nlp:stanford-corenlp](https://junglewise.ai/threats/cve-2022-0198-xml-external-entity-reference-in-edu-stanford-nlp-stanford-corenlp)
