CVE-2021-47901 dirsearch 0.4.1 - CSV Injection
Attackers can inject malicious Excel formulas into CSV reports generated by Dirsearch, potentially leading to code execution when the report is opened.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-47901?
CVE-2021-47901 is a medium-severity vulnerability in maurosoria dirsearch, published on 27 Jan 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Dirsearch 0.4.1 contains a CSV injection vulnerability when using the --csv-report flag that allows attackers to inject formulas through redirected endpoints. Attackers can craft malicious server redirects with comma-separated paths containing Excel formulas to manipulate the generated CSV report.
Weakness: CWE-1236
Which versions are affected by CVE-2021-47901?
How do I fix CVE-2021-47901?
No fix has been published for CVE-2021-47901 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-47901 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47901 exists.
Sources
Also known as GHSA-3pqc-wf77-h389.