{"id":"CVE-2018-20752","aliases":["DEBIAN-CVE-2018-20752","EUVD-2018-13295","GHSA-rc4w-3h9q-6xf9","UBUNTU-CVE-2018-20752"],"status":"published","title":"An issue was discovered in Recon-ng before 4.9.5. Lack of validation in the modules/reporting/csv...","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.03427,"percentile":0.8903,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1236"],"published":"2019-02-04T21:00:00Z","modified":"2026-10-23T18:03:05Z","fixes":[{"ecosystem":"Debian:12","package":"recon-ng","fixed_in":["4.9.5-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"recon-ng","fixed_in":["4.9.5-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"recon-ng","fixed_in":["4.9.5-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"recon-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.5-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"recon-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.5-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"recon-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.9.5-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"recon-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9.2-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"recon-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.0-1","5.0.1-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"recon-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.1.1-3","5.1.2-1"]}],"products":[{"vendor":"recon-ng_project","product":"recon-ng"}],"references":[{"url":"https://bitbucket.org/LaNMaSteR53/recon-ng/issues/285/csv-injection-vulnerability-identified-in","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://bitbucket.org/LaNMaSteR53/recon-ng/commits/41e96fd58891439974fb0c920b349f8926c71d4c#chg-modules/reporting/csv.py","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20752"},{"url":"https://github.com/advisories/GHSA-rc4w-3h9q-6xf9"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-20752","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-20752","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20752","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-20752","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.","status":"published","published":"2019-02-04T21:00:00Z","modified":"2024-08-05T12:12:28.533Z","updated_at":"2026-11-02T14:35:00.237825Z"}],"euvd":[{"id":"EUVD-2018-13295","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.","status":"published","published":"2019-02-04T21:00:00Z","modified":"2024-08-05T12:12:28Z","updated_at":"2026-11-03T02:39:29.769885Z"}],"ghsa":[{"id":"GHSA-rc4w-3h9q-6xf9","title":"An issue was discovered in Recon-ng before 4.9.5. Lack of validation in the modules/reporting/csv...","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.","status":"published","published":"2022-05-13T01:19:56Z","modified":"2023-02-01T05:06:14Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-1236"],"updated_at":"2026-11-02T14:50:19.669171Z"}],"nvd":[{"id":"CVE-2018-20752","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.","status":"published","published":"2019-02-04T21:29:00.58Z","modified":"2026-06-17T01:53:24.31Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-1236"],"updated_at":"2026-11-02T14:04:53.728218Z"}],"osv":[{"id":"CVE-2018-20752","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.","status":"published","published":"2019-02-04T21:29:00.58Z","modified":"2026-03-14T09:29:02.786505Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"DEBIAN-CVE-2018-20752","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.","status":"published","published":"2019-02-04T21:29:00.58Z","modified":"2026-10-23T18:03:05.585645715Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:30.867575Z"},{"id":"UBUNTU-CVE-2018-20752","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.","status":"published","published":"2019-02-04T21:29:00Z","modified":"2025-10-24T04:47:19Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:17.91743Z"}]}}
