CVE-2022-0272
CRITICAL 9.8CVSS 3.1XML External Entity Reference in detekt
Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.
- Published
- 21 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-2cfc-865j-gm4w
- Sources
- NVDJSONOSV GHSA-2cfc-865j-gm4wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.0 | HIGH 7.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | detekt | detektcpe:2.3:a:detekt:detekt:*:*:*:*:*:*:*:* |
< 1.20.0 | 1.20.0 |
| OSV | Maven | io.gitlab.arturbosch.detekt:detekt-core | < 1.20.0 | 1.20.0 |
References
- https://github.com/detekt/detekt/commit/c965a8d2a6bbdb9bcfc6acfa7bbffd3da81f5395 · Patch, Third Party Advisory, WEB
- https://huntr.dev/bounties/23e37ba7-96d5-4037-a90a-8c8f4a70ce44 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-0272 · ADVISORY
- https://github.com/detekt/detekt · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 21 Apr 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Apr 2022)