# CVE-2022-0198: Improper Restriction of XML External Entity Reference in stanfordnlp/corenlp

- Severity: Medium 6.1 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-13T06:45:10.000Z
- Modified: 2026-06-17T04:20:08.160Z
- Also known as: GHSA-mh83-jcw5-rjh8
- Weaknesses: CWE-611
- Assigned by: @huntrdev

## Description

corenlp is vulnerable to Improper Restriction of XML External Entity Reference

(As written by CVE List.)

## Affected

- stanfordnlp stanfordnlp/corenlp: from unspecified before 4.3.3
- edu.stanford.nlp:stanford-corenlp (Maven): up to 4.3.2
- stanford corenlp: up to 4.3.2

## Every score

- @huntrdev: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://huntr.dev/bounties/3d7e70fe-dddd-4b79-af62-8e058c4d5763> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/stanfordnlp/corenlp/commit/1f52136321cfca68b991bd7870563d06cf96624d> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0198> (advisory)
- <https://github.com/stanfordnlp/corenlp> (web)

## Sources

- CVE List: [CVE-2022-0198](https://www.cve.org/CVERecord?id=CVE-2022-0198), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-mh83-jcw5-rjh8](https://github.com/advisories/GHSA-mh83-jcw5-rjh8), CC-BY-4.0, modified 2024-02-19
- NVD: [CVE-2022-0198](https://nvd.nist.gov/vuln/detail/CVE-2022-0198), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0198 · Whole record: https://cve.day/CVE-2022-0198.json · Rebuilt by cve.day 2026-11-25T22:58:09.229Z
