What’s Vulnerable › Vulnerabilities
CVE-2020-5298: Reflected XSS when importing CSV in OctoberCMS
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2020-06-03 · updated 2026-06-17
- Weakness: CWE-87
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).
Affected products
- octobercms october: from 1.0.319 before 1.0.466 — fixed in 1.0.466
How to fix
Upgrade to a fixed version: octobercms october 1.0.466. Check the vendor advisory for mitigations.
References
- http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html
- http://seclists.org/fulldisclosure/2020/Aug/2
- https://github.com/octobercms/october/commit/cd0b6a791f995d86071a024464c1702efc50f46c
- https://github.com/octobercms/october/security/advisories/GHSA-gg6x-xx78-448c
- http://packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.html
- http://seclists.org/fulldisclosure/2020/Aug/2
- https://github.com/octobercms/october/commit/cd0b6a791f995d86071a024464c1702efc50f46c
- https://github.com/octobercms/october/security/advisories/GHSA-gg6x-xx78-448c
Get alerted when CVE-2020-5298 or the next vulnerability affects your stack