{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-11788","id":"CVE-2018-11788","title":"XML External Entity Reference in Apache Karaf","description":"Apache Karaf provides a features deployer, which allows users to \"hot deploy\" a features XML by dropping the file directly in the deploy folder. The features XML is parsed by XMLInputFactory class. Apache Karaf XMLInputFactory class doesn't contain any mitigation codes against XXE. This is a potential security risk as an user can inject external XML entities in Apache Karaf version prior to 4.1.7 ","descriptionLong":"Apache Karaf provides a features deployer, which allows users to \"hot deploy\" a features XML by dropping the file directly in the deploy folder. The features XML is parsed by XMLInputFactory class. Apache Karaf XMLInputFactory class doesn't contain any mitigation codes against XXE. This is a potential security risk as an user can inject external XML entities in Apache Karaf version prior to 4.1.7 or 4.2.2. It has been fixed in Apache Karaf 4.1.7 and 4.2.2 releases.","published":"2019-01-07T16:00:00.000Z","updated":"2026-10-24T10:31:07.036422373Z","reserved":"2018-06-05T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"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","rating":"critical","source":"NVD"},"metrics":[{"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","rating":"critical","source":"NVD"},{"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","rating":"critical","source":"OSV"},{"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","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["Apache Software Foundation Apache Karaf"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Karaf","defaultStatus":null,"versions":[{"status":"affected","version":"Any Apache Karaf version prior to 4.1.7 and 4.2.2"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.karaf.specs:org.apache.karaf.specs.java.xml","purl":"pkg:maven/org.apache.karaf.specs/org.apache.karaf.specs.java.xml","ranges":[">=4.2.0 <4.2.2","<4.1.7"],"fixed":["4.2.2","4.1.7"],"advisory":"GHSA-92wj-x78c-m4fx"}],"cwes":["CWE-611"],"aliases":["GHSA-92wj-x78c-m4fx"],"references":[{"url":"http://karaf.apache.org/security/cve-2018-11788.txt","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/106479","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-11788","tags":["advisory"]},{"url":"https://github.com/apache/karaf/commit/0c36c50bc158739c8fc8543122a6740c54adafca","tags":["web"]},{"url":"https://github.com/apache/karaf","tags":["package"]},{"url":"https://web.archive.org/web/20200227101219/https://www.securityfocus.com/bid/106479","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.07349,"epssPercentile":0.94517,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-11788","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-11788","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-11788","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-92wj-x78c-m4fx","ok":true,"note":"GHSA-92wj-x78c-m4fx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-11788","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}