dom4j version prior to version 2.1.1 contains a CWE-91: XML Injection vulnerability in Class: Element. Methods: addElement, addAttribute that can result in an attacker tampering with XML documents through XML injection. This attack appear to be exploitable via an attacker specifying attributes or elements in the XML document. This vulnerability appears to have been fixed in 2.1.1 or later.
{ "vanir_signatures": [ { "signature_type": "Function", "deprecated": false, "signature_version": "v1", "source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387", "digest": { "function_hash": "199325550788090166794109819653578629307", "length": 327.0 }, "id": "CVE-2018-1000632-35488c68", "target": { "file": "src/main/java/org/dom4j/tree/QNameCache.java", "function": "get" } }, { "signature_type": "Line", "deprecated": false, "signature_version": "v1", "source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387", "digest": { "line_hashes": [ "314198188812661398941202424502439283026", "82741579659803731321705998136504987739", "151797185316034688866896672041363997013", "199636037147929886189862213997516158628" ], "threshold": 0.9 }, "id": "CVE-2018-1000632-3bd6d515", "target": { "file": "src/main/java/org/dom4j/Namespace.java" } }, { "signature_type": "Line", "deprecated": false, "signature_version": "v1", "source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387", "digest": { "line_hashes": [ "147422418505375895194094920885579697205", "168608690976820459163785128903439418592", "285563659170242935906162937712434995479", "267323759805984201773350446167363660338" ], "threshold": 0.9 }, "id": "CVE-2018-1000632-4648bb49", "target": { "file": "src/main/java/org/dom4j/tree/QNameCache.java" } }, { "signature_type": "Function", "deprecated": false, "signature_version": "v1", "source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387", "digest": { "function_hash": "275065499305021125980377239777979989974", "length": 193.0 }, "id": "CVE-2018-1000632-4d9be67a", "target": { "file": "src/main/java/org/dom4j/QName.java", "function": "QName" } }, { "signature_type": "Function", "deprecated": false, "signature_version": "v1", "source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387", "digest": { "function_hash": "50164286232166251017957768309715539050", "length": 156.0 }, "id": "CVE-2018-1000632-91a793ae", "target": { "file": "src/main/java/org/dom4j/QName.java", "function": "QName" } }, { "signature_type": "Line", "deprecated": false, "signature_version": "v1", "source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387", "digest": { "line_hashes": [ "159068995644970077640297364713887969558", "80789274561771364052924301408417159154", "151816500673044903496109026899881602596", "59332901774669520718939558736875745473", "280096135076175038850825573070871643726", "214913607474329058805161896514755869583", "42351094760623045212581057695845210285", "168930601465629580222610550953789028778", "91625039504964879982004240932877008270", "235041418355810679284335301429235532350", "30821750415135255648048159171374174012", "85346269660141706510647755255497829709", "113698993995322993817647003012983568741", "255488862362652146981607753092155544836", "290124909029656121859884563217930534750", "261387688273661779705760898402365817095", "109320987176496713575563761446899179581", "257960915943106047139086468834030106362" ], "threshold": 0.9 }, "id": "CVE-2018-1000632-b4519614", "target": { "file": "src/main/java/org/dom4j/QName.java" } }, { "signature_type": "Function", "deprecated": false, "signature_version": "v1", "source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387", "digest": { "function_hash": "206188708269763143262114288589286603567", "length": 138.0 }, "id": "CVE-2018-1000632-c731c98f", "target": { "file": "src/main/java/org/dom4j/Namespace.java", "function": "Namespace" } } ] }