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.
[
{
"source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "get",
"file": "src/main/java/org/dom4j/tree/QNameCache.java"
},
"id": "CVE-2018-1000632-35488c68",
"signature_type": "Function",
"digest": {
"length": 327.0,
"function_hash": "199325550788090166794109819653578629307"
}
},
{
"source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "src/main/java/org/dom4j/Namespace.java"
},
"id": "CVE-2018-1000632-3bd6d515",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"314198188812661398941202424502439283026",
"82741579659803731321705998136504987739",
"151797185316034688866896672041363997013",
"199636037147929886189862213997516158628"
]
}
},
{
"source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "src/main/java/org/dom4j/tree/QNameCache.java"
},
"id": "CVE-2018-1000632-4648bb49",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"147422418505375895194094920885579697205",
"168608690976820459163785128903439418592",
"285563659170242935906162937712434995479",
"267323759805984201773350446167363660338"
]
}
},
{
"source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "QName",
"file": "src/main/java/org/dom4j/QName.java"
},
"id": "CVE-2018-1000632-4d9be67a",
"signature_type": "Function",
"digest": {
"length": 193.0,
"function_hash": "275065499305021125980377239777979989974"
}
},
{
"source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "QName",
"file": "src/main/java/org/dom4j/QName.java"
},
"id": "CVE-2018-1000632-91a793ae",
"signature_type": "Function",
"digest": {
"length": 156.0,
"function_hash": "50164286232166251017957768309715539050"
}
},
{
"source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "src/main/java/org/dom4j/QName.java"
},
"id": "CVE-2018-1000632-b4519614",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"159068995644970077640297364713887969558",
"80789274561771364052924301408417159154",
"151816500673044903496109026899881602596",
"59332901774669520718939558736875745473",
"280096135076175038850825573070871643726",
"214913607474329058805161896514755869583",
"42351094760623045212581057695845210285",
"168930601465629580222610550953789028778",
"91625039504964879982004240932877008270",
"235041418355810679284335301429235532350",
"30821750415135255648048159171374174012",
"85346269660141706510647755255497829709",
"113698993995322993817647003012983568741",
"255488862362652146981607753092155544836",
"290124909029656121859884563217930534750",
"261387688273661779705760898402365817095",
"109320987176496713575563761446899179581",
"257960915943106047139086468834030106362"
]
}
},
{
"source": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "Namespace",
"file": "src/main/java/org/dom4j/Namespace.java"
},
"id": "CVE-2018-1000632-c731c98f",
"signature_type": "Function",
"digest": {
"length": 138.0,
"function_hash": "206188708269763143262114288589286603567"
}
}
]