GHSA-cjc9-q5gf-327p
Ghost: Theme Upload Path Traversal
Quick fix
GHSA-cjc9-q5gf-327p — ghost: upgrade to the fixed version with the command below.
npm install ghost@6.54.1 Details
### Impact
A vulnerability in custom themes allowed a staff user to write files outside of the uploads directory. This could be used to alter the behavior of the installation.
### Vulnerable versions
This vulnerability is present in Ghost from v0.10.0 up to v6.54.0.
### Patches
v6.54.1 contains a fix for this issue.
### How to update
For self-hosters using Docker, find [Docker's official Ghost image here](https://hub.docker.com/_/ghost). Updating a Docker-based Ghost instance [is documented here](https://docs.ghost.org/install/docker#updating-ghost).
If your Ghost is a Ghost-CLI install see our documentation on [updating it to the latest version here](https://docs.ghost.org/update).
### References
Ghost thanks Stephen Sims, Off By One Security for disclosing this vulnerability responsibly.
### For more information
If you have any questions or comments about this advisory, email Ghost at [security@ghost.org](mailto:security@ghost.org).
Are you affected?
Enter the version of the package you're using.