XML External Entity Reference in edu.stanford.nlp:stanford-corenlp
Date: 2022-01
Affected: maven/edu.stanford.nlp:stanford-corenlp
Attack vector: other
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2022-0198
CWE: CWE-611
CVSS: 6.1 (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N)

The TransformXML() function makes use of SAXParser generated from a SAXParserFactory with no FEATURE_SECURE_PROCESSING set, allowing for XXE attacks.


Mitigations:

Architectural layers (MAESTRO):