{"id":"CVE-2022-0272","aliases":["EUVD-2022-1596","GHSA-2cfc-865j-gm4w"],"status":"published","title":"Improper Restriction of XML External Entity Reference in detekt/detekt","description":"Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.","severity":{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01439,"percentile":0.73382,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611"],"published":"2022-04-21T16:20:10Z","modified":"2026-10-28T02:31:10Z","fixes":[{"ecosystem":"Maven","package":"io.gitlab.arturbosch.detekt:detekt-core","fixed_in":["1.20.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"io.gitlab.arturbosch.detekt:detekt-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"io.gitlab.arturbosch.detekt:detekt-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.0"}]}],"versions":["1.0.0","1.0.0-RC10","1.0.0-RC11","1.0.0-RC13","1.0.0-RC14","1.0.0-RC15","1.0.0-RC16","1.0.0-gradle-rework-beta1","1.0.0-gradle-rework-beta2","1.0.0-gradle-rework-beta3","1.0.0.RC7-3","1.0.0.RC8","1.0.0.RC8-beta","1.0.0.RC9.2","1.0.1","1.1.0","1.1.1","1.10.0","1.10.0-RC1","1.11.0","1.11.0-RC1","1.11.0-RC2","1.11.1","1.11.2","1.12.0","1.12.0-RC1","1.13.1","1.14.0","1.14.1","1.14.2","1.15.0","1.15.0-RC1","1.15.0-RC2","1.16.0","1.16.0-RC1","1.16.0-RC2","1.16.0-RC3","1.17.0","1.17.0-RC1","1.17.0-RC2","1.17.0-RC3","1.17.1","1.18.0","1.18.0-RC1","1.18.0-RC2","1.18.0-RC3","1.18.1","1.19.0","1.19.0-RC1","1.19.0-RC2","1.2.0","1.2.1","1.2.2","1.20.0-RC1","1.20.0-RC2","1.3.0","1.3.1","1.4.0","1.5.0","1.5.1","1.6.0","1.7.0","1.7.0-beta2","1.7.1","1.7.2","1.7.3","1.7.4","1.8.0","1.9.0","1.9.1"]}],"products":[{"vendor":"detekt","product":"detekt"},{"vendor":"detekt","product":"detekt/detekt"}],"references":[{"url":"https://huntr.dev/bounties/23e37ba7-96d5-4037-a90a-8c8f4a70ce44","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/detekt/detekt/commit/c965a8d2a6bbdb9bcfc6acfa7bbffd3da81f5395","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0272","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2cfc-865j-gm4w"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0272.json","tags":["advisory"]},{"url":"https://github.com/detekt/detekt","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-0272","title":"Improper Restriction of XML External Entity Reference in detekt/detekt","description":"Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.","status":"published","published":"2022-04-21T16:20:10Z","modified":"2024-08-02T23:25:40.273Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:34:42.028422Z"}],"euvd":[{"id":"EUVD-2022-1596","description":"Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.","status":"published","published":"2022-04-21T16:20:10Z","modified":"2024-08-02T23:25:40Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-03T03:26:04.946671Z"}],"ghsa":[{"id":"GHSA-2cfc-865j-gm4w","title":"XML External Entity Reference in detekt","description":"Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.","status":"published","published":"2022-04-22T00:00:36Z","modified":"2023-01-27T05:01:54Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:36:17.04874Z"}],"nvd":[{"id":"CVE-2022-0272","description":"Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.","status":"published","published":"2022-04-21T17:15:07.837Z","modified":"2026-06-17T04:20:15.863Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:07:16.9948Z"}],"osv":[{"id":"CVE-2022-0272","title":"Improper Restriction of XML External Entity Reference in detekt/detekt","description":"Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.","status":"published","published":"2022-04-21T16:20:10Z","modified":"2026-10-28T02:31:10.164609064Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:44:22.824781Z"},{"id":"GHSA-2cfc-865j-gm4w","title":"XML External Entity Reference in detekt","description":"Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.","status":"published","published":"2022-04-22T00:00:36Z","modified":"2023-11-08T04:07:31.376398Z","cvss":[{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:34.338541Z"}]}}
