CVE-2018-20752
CVE-2018-20752 is a critical-severity vulnerability in Recon-ng Project Recon-ng with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1236.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 3% (87th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-1236
- Affected product: Recon-ng Project Recon-ng
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2018-20752?
- 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.
- How severe is CVE-2018-20752?
- CVE-2018-20752 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2018-20752 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (87th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-20752?
- CVE-2018-20752 affects Recon-ng Project Recon-ng. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-20752?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2018-20752 published?
- CVE-2018-20752 was published on 2019-02-04 and last updated on 2026-06-17.
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
Affected products (1)
- cpe:2.3:a:recon-ng_project:recon-ng:*:*:*:*:*:*:*:*
Other CWE-1236 (Improper Neutralization of Formula Elements in a CSV File) vulnerabilities
- CVE-2026-31049 — Critical (CVSS 9.8): An issue in Hostbill v.2025-11-24 and 2025-12-01 allows a remote attacker to execute arbitrary code and escalate…
- CVE-2020-36962 — Critical (CVSS 9.8): Tendenci 12.3.1 contains a CSV formula injection vulnerability in the contact form message field that allows attackers…
- CVE-2021-47901 — Critical (CVSS 9.8): Dirsearch 0.4.1 contains a CSV injection vulnerability when using the --csv-report flag that allows attackers to inject…
- CVE-2020-36941 — Critical (CVSS 9.8): Knockpy 4.1.1 contains a CSV injection vulnerability that allows attackers to inject malicious formulas into CSV…
- CVE-2025-56267 — Critical (CVSS 9.8): A CSV injection vulnerability in the /id_profiles endpoint of Avigilon ACM v7.10.0.20 allows attackers to execute…
- CVE-2023-47295 — Critical (CVSS 9.8): A CSV injection vulnerability in NCR Terminal Handler v1.5.1 allows attackers to execute arbitrary commands via…
Browse all CWE-1236 (Improper Neutralization of Formula Elements in a CSV File) vulnerabilities →