What’s Vulnerable › Vulnerabilities
CVE-2022-0272: Improper Restriction of XML External Entity Reference in detekt/detekt
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-04-21 · updated 2026-06-17
- Weakness: CWE-611
Description
Improper Restriction of XML External Entity Reference in GitHub repository detekt/detekt prior to 1.20.0.
Affected products
- detekt/detekt: before 1.20.0 — fixed in 1.20.0
How to fix
Upgrade to a fixed version: detekt/detekt 1.20.0. Check the vendor advisory for mitigations.
References
- https://github.com/detekt/detekt/commit/c965a8d2a6bbdb9bcfc6acfa7bbffd3da81f5395
- https://huntr.dev/bounties/23e37ba7-96d5-4037-a90a-8c8f4a70ce44
- https://github.com/detekt/detekt/commit/c965a8d2a6bbdb9bcfc6acfa7bbffd3da81f5395
- https://huntr.dev/bounties/23e37ba7-96d5-4037-a90a-8c8f4a70ce44
Get alerted when CVE-2022-0272 or the next vulnerability affects your stack