Moderate severityNVD Advisory· Published Jun 3, 2020· Updated Aug 4, 2024
Reflected XSS when importing CSV in OctoberCMS
CVE-2020-5298
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 packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
october/backendPackagist | >= 1.0.319, < 1.0.466 | 1.0.466 |
Affected products
1- Range: >= 1.0.319, < 1.0.466
Patches
1cd0b6a791f99escape import CSV column names
1 file changed · +1 −1
modules/backend/behaviors/importexportcontroller/partials/_import_file_columns.htm+1 −1 modified@@ -22,7 +22,7 @@ class="column-label" onclick="$.oc.importBehavior.loadFileColumnSample(this)" > - <?= $column ?> + <?= e($column) ?> </a> </span> </div>
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6- github.com/advisories/GHSA-gg6x-xx78-448cghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-5298ghsaADVISORY
- packetstormsecurity.com/files/158730/October-CMS-Build-465-XSS-File-Read-File-Deletion-CSV-Injection.htmlghsax_refsource_MISCWEB
- seclists.org/fulldisclosure/2020/Aug/2ghsamailing-listx_refsource_FULLDISCWEB
- github.com/octobercms/october/commit/cd0b6a791f995d86071a024464c1702efc50f46cghsax_refsource_MISCWEB
- github.com/octobercms/october/security/advisories/GHSA-gg6x-xx78-448cghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.