{"id":"CVE-2022-0198","aliases":["EUVD-2022-0648","GHSA-mh83-jcw5-rjh8"],"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":6.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00763,"percentile":0.55647,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-611"],"published":"2022-01-13T06:45:10Z","modified":"2026-10-28T10:23:16Z","affected":[{"source":"ghsa","ecosystem":"Maven","package":"edu.stanford.nlp:stanford-corenlp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.2"}]}]},{"source":"osv","ecosystem":"Maven","package":"edu.stanford.nlp:stanford-corenlp","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.3.2"}]}],"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","4.3.1","4.3.2"]}],"products":[{"vendor":"stanford","product":"corenlp"},{"vendor":"stanfordnlp","product":"stanfordnlp/corenlp"}],"references":[{"url":"https://huntr.dev/bounties/3d7e70fe-dddd-4b79-af62-8e058c4d5763","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/stanfordnlp/corenlp/commit/1f52136321cfca68b991bd7870563d06cf96624d","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0198","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mh83-jcw5-rjh8"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0198.json","tags":["advisory"]},{"url":"https://github.com/stanfordnlp/corenlp","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-0198","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":"2022-01-13T06:45:10Z","modified":"2024-08-02T23:18:42.562Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:34:41.69911Z"}],"euvd":[{"id":"EUVD-2022-0648","description":"corenlp is vulnerable to Improper Restriction of XML External Entity Reference","status":"published","published":"2022-01-13T06:45:10Z","modified":"2024-08-02T23:18:42Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T03:26:06.080876Z"}],"ghsa":[{"id":"GHSA-mh83-jcw5-rjh8","title":"XML External Entity Reference in edu.stanford.nlp:stanford-corenlp","description":"The TransformXML() function makes use of SAXParser generated from a SAXParserFactory with no FEATURE_SECURE_PROCESSING set, allowing for XXE attacks.","status":"published","published":"2022-01-14T21:07:23Z","modified":"2023-02-03T05:04:31Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","level":"medium"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:36:41.967989Z"}],"nvd":[{"id":"CVE-2022-0198","description":"corenlp is vulnerable to Improper Restriction of XML External Entity Reference","status":"published","published":"2022-01-13T07:15:06.463Z","modified":"2026-06-17T04:20:08.16Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:07:10.836864Z"}],"osv":[{"id":"CVE-2022-0198","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":"2022-01-13T06:45:10Z","modified":"2026-10-28T10:23:16.918602487Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","level":"medium"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:44:22.824781Z"},{"id":"GHSA-mh83-jcw5-rjh8","title":"XML External Entity Reference in edu.stanford.nlp:stanford-corenlp","description":"The TransformXML() function makes use of SAXParser generated from a SAXParserFactory with no FEATURE_SECURE_PROCESSING set, allowing for XXE attacks.","status":"published","published":"2022-01-14T21:07:23Z","modified":"2024-02-19T05:32:04.914887Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","level":"medium"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:51.811331Z"}]}}
