{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "c84bf03f506052c848f2fddc05f24be631427a1a"
            }
          ],
          "repo": "https://github.com/octobercms/library",
          "type": "GIT"
        }
      ]
    },
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:octobercms:october:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "1.0.319"
              },
              {
                "fixed": "1.0.466"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "ca3e13ed330d97fab89c75cfb826a006d126ce67"
            },
            {
              "fixed": "9e64e638057f162717598a7962d63ba9f139436b"
            },
            {
              "fixed": "802d8c8e09a2b342649393edb6d3ceb958851484"
            }
          ],
          "repo": "https://github.com/octobercms/october",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4rhm-m2fp-hx7q"
  ],
  "database_specific": {},
  "details": "In OctoberCMS (october/october composer package) versions from 1.0.319 and before 1.0.466, any users with the ability to modify any data that could eventually be exported as a CSV file from the `ImportExportController` could potentially introduce a CSV injection into the data to cause the generated CSV export file to be malicious. This requires attackers to achieve the following before a successful attack can be completed: 1. Have found a vulnerability in the victims spreadsheet software of choice. 2. Control data that would potentially be exported through the `ImportExportController` by a theoretical victim. 3. Convince the victim to export above data as a CSV and run it in vulnerable spreadsheet software while also bypassing any sanity checks by said software. Issue has been patched in Build 466 (v1.0.466).",
  "id": "CVE-2020-5299",
  "modified": "2026-07-08T05:39:21.879006715Z",
  "published": "2020-06-03T22:15:11.957Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html"
    },
    {
      "type": "ADVISORY",
      "url": "http://seclists.org/fulldisclosure/2020/Aug/2"
    },
    {
      "type": "FIX",
      "url": "https://github.com/octobercms/library/commit/c84bf03f506052c848f2fddc05f24be631427a1a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/octobercms/october/commit/802d8c8e09a2b342649393edb6d3ceb958851484"
    },
    {
      "type": "FIX",
      "url": "https://github.com/octobercms/october/security/advisories/GHSA-4rhm-m2fp-hx7q"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ]
}