# CVE-2020-5298: Reflected XSS when importing CSV in OctoberCMS

- Severity: Medium 4.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A: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): 0.91%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-06-03T21:55:12.000Z
- Modified: 2026-07-08T06:28:19.408Z
- Also known as: GHSA-gg6x-xx78-448c
- Weaknesses: CWE-79, CWE-87
- Assigned by: GitHub_M

## Description

In OctoberCMS (october/october composer package) versions from 1.0.319 and before 1.0.466, a user with the ability to use the import functionality of the `ImportExportController` behavior can be socially engineered by an attacker to upload a maliciously crafted CSV file which could result in a reflected XSS attack on the user in question Issue has been patched in Build 466 (v1.0.466).

(As written by CVE List.)

## Affected

- octobercms october: >= 1.0.319, < 1.0.466; from 1.0.319 before 1.0.466
- october/backend (Packagist): from 1.0.319 before 1.0.466

## Every score

- GitHub_M: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html> (exploit, third-party-advisory, vdb-entry, web)
- <http://seclists.org/fulldisclosure/2020/Aug/2> (exploit, mailing-list, third-party-advisory, web)
- <https://github.com/octobercms/october/security/advisories/GHSA-gg6x-xx78-448c> (patch, third-party-advisory, web)
- <https://github.com/octobercms/october/commit/cd0b6a791f995d86071a024464c1702efc50f46c> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5298> (advisory)

## Sources

- CVE List: [CVE-2020-5298](https://www.cve.org/CVERecord?id=CVE-2020-5298), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-gg6x-xx78-448c](https://github.com/advisories/GHSA-gg6x-xx78-448c), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-5298](https://nvd.nist.gov/vuln/detail/CVE-2020-5298), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5298 · Whole record: https://cve.day/CVE-2020-5298.json · Rebuilt by cve.day 2026-11-25T22:57:52.710Z
