# CVE-2021-47901: dirsearch 0.4.1 - CSV Injection

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.41%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-27T15:23:52.127Z
- Modified: 2026-06-17T04:18:43.393Z
- Weaknesses: CWE-1236
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- maurosoria dirsearch: 0.4.1

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.exploit-db.com/exploits/49370> (exploit)
- <https://github.com/maurosoria/dirsearch> (product)
- <https://www.vulncheck.com/advisories/dirsearch-csv-injection> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-47901](https://www.cve.org/CVERecord?id=CVE-2021-47901), CVE Terms of Use, modified 2026-01-27
- NVD: [CVE-2021-47901](https://nvd.nist.gov/vuln/detail/CVE-2021-47901), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47901 · Whole record: https://cve.day/CVE-2021-47901.json · Rebuilt by cve.day 2026-11-25T22:58:09.088Z
