CVE-2022-0198
Improper Restriction of XML External Entity Reference in stanfordnlp/corenlp
corenlp is vulnerable to Improper Restriction of XML External Entity Reference
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.1
Improper Restriction of XML External Entity Reference in stanfordnlp/corenlp
corenlp is vulnerable to Improper Restriction of XML External Entity Reference
- Record
CVE-2022-0198- 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 - Weakness
- CWE-611
- Updated
- 2026-11-02
EUVDEUVD-2022-0648
6.1
corenlp is vulnerable to Improper Restriction of XML External Entity Reference
- Record
EUVD-2022-0648- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mh83-jcw5-rjh8
6.1
XML External Entity Reference in edu.stanford.nlp:stanford-corenlp
The TransformXML() function makes use of SAXParser generated from a SAXParserFactory with no FEATURE_SECURE_PROCESSING set, allowing for XXE attacks.
- Record
GHSA-mh83-jcw5-rjh8- 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 - Weakness
- CWE-611
- Updated
- 2026-11-02
NVD
7.1
corenlp is vulnerable to Improper Restriction of XML External Entity Reference
- Record
CVE-2022-0198- 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 - 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 - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-611
- Updated
- 2026-11-02
OSV
6.1
Improper Restriction of XML External Entity Reference in stanfordnlp/corenlp
corenlp is vulnerable to Improper Restriction of XML External Entity Reference
- Record
CVE-2022-0198- 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 - Weakness
- CWE-611
- Updated
- 2026-11-02
OSVGHSA-mh83-jcw5-rjh8
6.1
XML External Entity Reference in edu.stanford.nlp:stanford-corenlp
The TransformXML() function makes use of SAXParser generated from a SAXParserFactory with no FEATURE_SECURE_PROCESSING set, allowing for XXE attacks.
- Record
GHSA-mh83-jcw5-rjh8- 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 - Weakness
- CWE-611
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
edu.stanford.nlp:stanford-corenlpMaven |
through 4.3.2 | None known |
edu.stanford.nlp:stanford-corenlpMaven |
through 4.3.2, plus listed versions 1.2.01.3.01.3.11.3.21.3.3 Show 21 moreShow less1.3.41.3.53.2.03.3.03.3.13.43.4.13.5.03.5.13.5.23.6.03.7.03.8.03.9.13.9.24.0.04.2.04.2.14.2.24.3.04.3.1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-0198 is a medium vulnerability (CVSS 6.1) in Stanford Corenlp, published January 13, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.76%, the 55th percentile. No source names a fixed version.
References
huntr.dev/bounties/3d7e70fe-dddd-4b79-af62-8e058c4d5763
github.com/stanfordnlp/corenlp/commit/1f52136321cfca68b991bd7870563d06cf96624d
nvd.nist.gov/vuln/detail/CVE-2022-0198
github.com/advisories/GHSA-mh83-jcw5-rjh8
github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0198.json
github.com/stanfordnlp/corenlp