{"id":"CVE-2021-3878","aliases":["EUVD-2022-2592","GHSA-5h9g-8xcv-qjq9"],"status":"published","title":"Improper Restriction of XML External Entity Reference in stanfordnlp/corenlp","description":"corenlp is vulnerable to Improper Restriction of XML External Entity Reference","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01886,"percentile":0.79688,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611"],"published":"2021-10-15T13:40:21Z","modified":"2026-10-20T14:26:20Z","fixes":[{"ecosystem":"Maven","package":"edu.stanford.nlp:stanford-corenlp","fixed_in":["4.3.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"edu.stanford.nlp:stanford-corenlp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.0"},{"fixed":"4.3.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"edu.stanford.nlp:stanford-corenlp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.1"}]}],"versions":["1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","3.2.0","3.3.0","3.3.1","3.4","3.4.1","3.5.0","3.5.1","3.5.2","3.6.0","3.7.0","3.8.0","3.9.1","3.9.2","4.0.0","4.2.0","4.2.1","4.2.2","4.3.0"]}],"products":[{"vendor":"stanford","product":"corenlp"},{"vendor":"stanfordnlp","product":"stanfordnlp/corenlp"}],"references":[{"url":"https://huntr.dev/bounties/a11c889b-ccff-4fea-9e29-963a23a63dd2","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/stanfordnlp/corenlp/commit/e5bbe135a02a74b952396751ed3015e8b8252e99","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3878","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-5h9g-8xcv-qjq9"},{"url":"https://github.com/stanfordnlp/CoreNLP","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-3878","title":"Improper Restriction of XML External Entity Reference in stanfordnlp/corenlp","description":"corenlp is vulnerable to Improper Restriction of XML External Entity Reference","status":"published","published":"2021-10-15T13:40:21Z","modified":"2024-08-03T17:09:09.613Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:33:03.671751Z"}],"euvd":[{"id":"EUVD-2022-2592","description":"corenlp is vulnerable to Improper Restriction of XML External Entity Reference","status":"published","published":"2021-10-15T13:40:21Z","modified":"2024-08-03T17:09:09Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T03:25:11.376657Z"}],"ghsa":[{"id":"GHSA-5h9g-8xcv-qjq9","title":"Improper Restriction of XML External Entity Reference in Stanford CoreNLP","description":"corenlp is vulnerable to Improper Restriction of XML External Entity Reference","status":"published","published":"2022-05-24T19:17:42Z","modified":"2023-01-27T05:03:22Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:36:20.144464Z"}],"nvd":[{"id":"CVE-2021-3878","description":"corenlp is vulnerable to Improper Restriction of XML External Entity Reference","status":"published","published":"2021-10-15T14:15:07.857Z","modified":"2026-06-17T04:05:55.97Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:06:59.689345Z"}],"osv":[{"id":"CVE-2021-3878","description":"corenlp is vulnerable to Improper Restriction of XML External Entity Reference","status":"published","published":"2021-10-15T14:15:07.857Z","modified":"2026-10-20T14:26:20.571516219Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:20.843843Z"},{"id":"GHSA-5h9g-8xcv-qjq9","title":"Improper Restriction of XML External Entity Reference in Stanford CoreNLP","description":"corenlp is vulnerable to Improper Restriction of XML External Entity Reference","status":"published","published":"2022-05-24T19:17:42Z","modified":"2023-11-08T04:06:29.240211Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:38.553953Z"}]}}
