What’s Vulnerable › Vulnerabilities
CVE-2018-20752
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2019-02-04 · updated 2026-06-17
- Weakness: CWE-1236
Description
An issue was discovered in Recon-ng before 4.9.5. Lack of validation in the modules/reporting/csv.py file allows CSV injection. More specifically, when a Twitter user possesses an Excel macro for a username, it will not be properly sanitized when exported to a CSV file. This can result in remote code execution for the attacker.
Affected products
- Recon-Ng Project Recon-Ng: before 4.9.5 — fixed in 4.9.5
How to fix
Upgrade to a fixed version: Recon-Ng Project Recon-Ng 4.9.5. Check the vendor advisory for mitigations.
References
- https://bitbucket.org/LaNMaSteR53/recon-ng/commits/41e96fd58891439974fb0c920b349f8926c71d4c#chg-modules/reporting/csv.py
- https://bitbucket.org/LaNMaSteR53/recon-ng/issues/285/csv-injection-vulnerability-identified-in
- https://bitbucket.org/LaNMaSteR53/recon-ng/commits/41e96fd58891439974fb0c920b349f8926c71d4c#chg-modules/reporting/csv.py
- https://bitbucket.org/LaNMaSteR53/recon-ng/issues/285/csv-injection-vulnerability-identified-in
Get alerted when CVE-2018-20752 or the next vulnerability affects your stack