CVE-2022-0272: detekt/detekt - XML External Entity Injection
- Cve: CVE-2022-0272
- Name: detekt/detekt - XML External Entity Injection
- Description: Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.
- Impact: Attackers can access sensitive data or cause denial of service by exploiting XML external entity processing.
- Remediation: Update to version 1.20.0 or later.
- Vulnerability type: xml_external_entity_injection
- Vulnerability impact: information_disclosure, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01439
- Epss percentile: 0.73856
- Assignee: [email protected]
- Published at: 2022-04-21T17:15:07Z
- Age in days: 1678
- Modified at: 2026-06-17T04:20:15Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-0272
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/23e37ba7-96d5-4037-a90a-8c8f4a70ce44 | nvd | 2022-04-21 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/detekt/detekt/commit/c965a8d2a6bbdb9bcfc6acfa7bbffd3da81f5395 | nvd | Patch, Third Party Advisory |
| https://huntr.dev/bounties/23e37ba7-96d5-4037-a90a-8c8f4a70ce44 | nvd | Exploit, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| detekt:detekt | < 1.20.0 | no | nvd | /v1/products/detekt/detekt |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| detekt/detekt | commit, fix, package | yes | /v1/repositories/detekt/detekt |
Index
- Repositories: 1
- Packages: 1
- Checked, none or zero: repositories high signal
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-04-21
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts