CVE-2021-47901
CRITICALVulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V1 - Encoding and Sanitization CSV injection prevention
|
| Impact | CVSS 9.8 with PoC. |
| Exploit ScenarioDerived | Web paths inject formulas into CSV reports. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
Dirsearch 0.4.1 has CSV injection in scan reports.
Earlier versions of this analysis (1)
CSV injection in Dirsearch scan exports.
RemediationAI
Update Dirsearch.
Affected ProductsAI
Dirsearch 0.4.1
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-1236.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
Dirsearch 0.4.1 contains a critical CSV injection vulnerability that could allow attackers to execute arbitrary code on systems that generate CSV reports using this tool. This affects any organization using Dirsearch for security assessments or infrastructure scanning, potentially compromising analyst workstations and downstream systems that consume the generated reports.
Disable the --csv-report flag organization-wide immediately; restrict Dirsearch usage to trusted, air-gapped networks only; implement strict file handling procedures where CSV reports are never opened directly in Excel or spreadsheet applications without prior sanitization; use alternative output formats (JSON or text) for all assessments; deploy endpoint detection and response (EDR) monitoring on analyst workstations to detect formula injection exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
NVD
CVE.org
EPSS
Exploit-DB
GitHub