GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GHSA-29w6-c52g-m8jcmedium4.0

C5 Firefly III CSV Injection.

No CVE assignedCheck your stack

The advisory, in context

Summary

CSV injection is a vulnerability where untrusted user input in CSV files can lead to unauthorized access or data manipulation. In my subsequent testing of the application.

Details

I discovered that there is an option to "Export Data" from the web app to your personal computer, which exports a "csv" file that can be opened with Excel software that supports macros.

P.S I discovered that the web application's is offering a demo-site that anyone may access to play with the web application. So, there's a chance that someone will export the data (CVS) from the demo site and execute it on their PC, giving the malicious actor a complete control over their machine. (if a user enters a malicious payload to the website).

PoC

You can check out my vulnerability report if you need more details/PoC with screenshots: (removed by JC5)

Impact

An attacker can exploit this by entering a specially crafted payload to one of the fields, and when a user export the csv file using the "Export Data" function, the attacker can potentiality can RCE.

Addendum by JC5, the developer of Firefly III

There is zero impact on normal users, even on vulnerable versions.

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

Ecosystem versions

Earlier releases before 6.1.7

Fixed in 6.1.7

326 explicitly affected versions

3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.10, 3.10.1, 3.10.2, 3.10.3, 3.10.4, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.3, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.3.9, 3.4, 3.4.0.1, 3.4.0.10, 3.4.0.2, 3.4.0.3, 3.4.0.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v6.0.11, v6.0.12, v6.0.13, v6.0.14, v6.0.15, v6.0.16, v6.0.17, v6.0.18, v6.0.19, v6.0.2, v6.0.20, v6.0.21, v6.0.22, v6.0.23, v6.0.24, v6.0.25, v6.0.26, v6.0.27, v6.0.28, v6.0.29, v6.0.3, v6.0.30, v6.0.4, v6.0.5, v6.0.6, v6.0.7, v6.0.8, v6.1.0, v6.1.0-alpha.1, v6.1.1, v6.1.2, v6.1.3, v6.1.4, v6.1.5, v6.1.6

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "0"
        },
        {
          "fixed": "6.1.7"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "3.0.0",
    "3.0.1",
    "3.0.2",
    "3.0.3",
    "3.1",
    "3.1.1",
    "3.1.2",
    "3.1.3",
    "3.1.4",
    "3.1.5",
    "3.1.6",
    "3.10",
    "3.10.1",
    "3.10.2",
    "3.10.3",
    "3.10.4",
    "3.2.0",
    "3.2.1",
    "3.2.2",
    "3.2.3",
    "3.2.4",
    "3.2.5",
    "3.3",
    "3.3.1",
    "3.3.2",
    "3.3.3",
    "3.3.4",
    "3.3.5",
    "3.3.6",
    "3.3.7",
    "3.3.8",
    "3.3.9",
    "3.4",
    "3.4.0.1",
    "3.4.0.10",
    "3.4.0.2",
    "3.4.0.3",
    "3.4.0.4",
    "3.4.0.5",
    "3.4.0.6",
    "3.4.0.7",
    "3.4.0.8",
    "3.4.0.9",
    "3.4.1",
    "3.4.10",
    "3.4.11",
    "3.4.2",
    "3.4.3",
    "3.4.4",
    "3.4.4.1",
    "3.4.4.2",
    "3.4.5",
    "3.4.6",
    "3.4.6.1",
    "3.4.7",
    "3.4.8",
    "3.4.9",
    "3.5.0",
    "3.5.1",
    "3.5.2",
    "3.5.3",
    "3.5.4",
    "3.5.5",
    "3.5.6",
    "3.5.6.1",
    "3.6.0",
    "3.6.1",
    "3.7.0",
    "3.7.1",
    "3.7.2",
    "3.7.2.1",
    "3.7.2.2",
    "3.7.2.3",
    "3.8.0",
    "3.8.1",
    "3.8.2",
    "3.8.3",
    "3.8.4",
    "3.9.0",
    "3.9.1",
    "4.0.0",
    "4.0.1",
    "4.0.2",
    "4.1.0",
    "4.1.1",
    "4.1.2",
    "4.1.3",
    "4.1.4",
    "4.1.5",
    "4.1.6",
    "4.1.7",
    "4.2.0",
    "4.2.1",
    "4.2.2",
    "4.3.0",
    "4.3.1",
    "4.3.2",
    "4.3.3",
    "4.3.4",
    "4.3.5",
    "4.3.6",
    "4.3.7",
    "4.3.8",
    "4.4.0",
    "4.4.1",
    "4.4.2",
    "4.4.3",
    "4.5.0",
    "4.6.0",
    "4.6.1",
    "4.6.10",
    "4.6.11",
    "4.6.11.1",
    "4.6.12",
    "4.6.13",
    "4.6.2",
    "4.6.3",
    "4.6.3.1",
    "4.6.4",
    "4.6.5",
    "4.6.6",
    "4.6.7",
    "4.6.8",
    "4.6.9",
    "4.7.0",
    "4.7.1",
    "4.7.1.1",
    "4.7.1.2",
    "4.7.1.3",
    "4.7.1.4",
    "4.7.10",
    "4.7.11",
    "4.7.12",
    "4.7.12.1",
    "4.7.13",
    "4.7.14",
    "4.7.15",
    "4.7.16",
    "4.7.17",
    "4.7.17.1",
    "4.7.17.2",
    "4.7.17.3",
    "4.7.17.4",
    "4.7.17.5",
    "4.7.17.6",
    "4.7.2",
    "4.7.2.1",
    "4.7.2.2",
    "4.7.3",
    "4.7.3.1",
    "4.7.3.2",
    "4.7.4",
    "4.7.5",
    "4.7.5.1",
    "4.7.5.2",
    "4.7.5.3",
    "4.7.6",
    "4.7.6.1",
    "4.7.6.2",
    "4.7.7",
    "4.7.8",
    "4.7.9",
    "4.8.0",
    "4.8.0.1",
    "4.8.0.2",
    "4.8.0.3",
    "4.8.1",
    "4.8.1.1",
    "4.8.1.2",
    "4.8.1.3",
    "4.8.1.4",
    "4.8.1.5",
    "4.8.1.6",
    "4.8.1.7",
    "4.8.1.8",
    "4.8.2",
    "4.8.2-alpha.1",
    "4.8.2-alpha.2",
    "4.8.2-alpha.3",
    "4.8.2-alpha.4",
    "4.8.2-alpha.5",
    "4.8.2-alpha.6",
    "4.8.2-beta.1",
    "4.8.2-beta.2",
    "4.8.3-alpha.1",
    "5.0.0",
    "5.0.0-alpha.1",
    "5.0.0-alpha.2",
    "5.0.0-beta.1",
    "5.0.1",
    "5.0.2",
    "5.0.3",
    "5.0.4",
    "5.0.5",
    "5.1.0",
    "5.1.0-alpha.1",
    "5.1.0-beta.1",
    "5.1.1",
    "5.2.0",
    "5.2.0-alpha.1",
    "5.2.0-beta.1",
    "5.2.1",
    "5.2.2",
    "5.2.3",
    "5.2.4",
    "5.2.5",
    "5.2.6",
    "5.2.7",
    "5.2.8",
    "5.3.0",
    "5.3.0-alpha.1",
    "5.3.0-beta.1",
    "5.3.0-beta.2",
    "5.3.1",
    "5.3.2",
    "5.3.3",
    "5.4.0",
    "5.4.0-alpha.1",
    "5.4.0-alpha.2",
    "5.4.0-alpha.3",
    "5.4.0-beta.1",
    "5.4.1",
    "5.4.2",
    "5.4.3",
    "5.4.4",
    "5.4.5",
    "5.4.6",
    "5.5.0",
    "5.5.0-beta.1",
    "5.5.0-beta.2",
    "5.5.0-beta.3",
    "5.5.1",
    "5.5.10",
    "5.5.11",
    "5.5.12",
    "5.5.13",
    "5.5.2",
    "5.5.3",
    "5.5.4",
    "5.5.5",
    "5.5.6",
    "5.5.7",
    "5.5.8",
    "5.5.9",
    "5.6.0",
    "5.6.0-alpha.1",
    "5.6.0-alpha.2",
    "5.6.1",
    "5.6.10",
    "5.6.11",
    "5.6.12",
    "5.6.13",
    "5.6.14",
    "5.6.15",
    "5.6.16",
    "5.6.2",
    "5.6.3",
    "5.6.4",
    "5.6.5",
    "5.6.6",
    "5.6.7",
    "5.6.8",
    "5.6.9",
    "5.7.0",
    "5.7.1",
    "5.7.10",
    "5.7.11",
    "5.7.12",
    "5.7.13",
    "5.7.14",
    "5.7.15",
    "5.7.16",
    "5.7.17",
    "5.7.18",
    "5.7.2",
    "5.7.3",
    "5.7.4",
    "5.7.5",
    "5.7.6",
    "5.7.7",
    "5.7.8",
    "5.7.9",
    "5.8.0-alpha.1",
    "6.0.0-alpha.1",
    "6.0.0-alpha.2",
    "6.0.0-beta.1",
    "6.0.9",
    "v6.0.0",
    "v6.0.0-beta.2",
    "v6.0.1",
    "v6.0.10",
    "v6.0.11",
    "v6.0.12",
    "v6.0.13",
    "v6.0.14",
    "v6.0.15",
    "v6.0.16",
    "v6.0.17",
    "v6.0.18",
    "v6.0.19",
    "v6.0.2",
    "v6.0.20",
    "v6.0.21",
    "v6.0.22",
    "v6.0.23",
    "v6.0.24",
    "v6.0.25",
    "v6.0.26",
    "v6.0.27",
    "v6.0.28",
    "v6.0.29",
    "v6.0.3",
    "v6.0.30",
    "v6.0.4",
    "v6.0.5",
    "v6.0.6",
    "v6.0.7",
    "v6.0.8",
    "v6.1.0",
    "v6.1.0-alpha.1",
    "v6.1.1",
    "v6.1.2",
    "v6.1.3",
    "v6.1.4",
    "v6.1.5",
    "v6.1.6"
  ]
}

References