CVE-2021-47901CWE-1236

dirsearch 0.4.1 - CSV Injection

Medium · published January 27, 2026

CVSS v4.0
5.1
EPSS
0%
Percentile
37.3
In the wild
Unconfirmed
What it is

⚠️ A sneaky little CSV injection lurks in Dirsearch 0.4.1 that could let attackers mess with your reports! 🚨 Think of this as someone sneaking in a surprise ingredient into a recipe — the final dish looks fine, but it has a hidden twist that could ruin the meal! An attacker could craft a malicious redirect that injects dangerous formulas into your CSV report, causing erroneous data manipulation or even misleading users who trust the report's accuracy. This might not lead to a catastrophic breach, but the implications for data integrity could be quite damaging!

Put simply

Think of this as someone sneaking in a surprise ingredient into a recipe — the final dish looks fine, but it has a hidden twist that could ruin the meal! This vulnerability allows attackers to inject Excel formulas into CSV files generated with the --csv-report flag by leveraging redirected endpoints, making it easy to manipulate the output without proper sanitization.

What to do

An attacker could craft a malicious redirect that injects dangerous formulas into your CSV report, causing erroneous data manipulation or even misleading users who trust the report's accuracy. This might not lead to a catastrophic breach, but the implications for data integrity could be quite damaging! To safeguard against this, upgrade to Dirsearch 0.4.2 or later, which addresses this vulnerability. Additionally, ensure that any data that is outputted into CSV files is properly sanitized to remove or neutralize potentially harmful inputs. You've got this! Follow these steps and your reports will be safe from sneaky surprises! 🛡️

The record
Technical detail
CVSS v4.0
5.1 · MEDIUM
Vector
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
EPSS
0.00442 · 37.3th percentile
Weakness
CWE-1236 · Improper Neutralization of Formula Elements in a CSV File
Published
2026-01-27T15:23Z
EPSS history
Timeline
  • 27 JAN 15:23Z
    dirsearch 0.4.1 - CSV Injection
    cvelistv5