GHSA-cjc9-q5gf-327p: Path Traversal
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. Updating a Docker-based Ghost instance is documented here.
If your Ghost is a Ghost-CLI install see our documentation on updating it to the latest version here.
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/ghostto a version that resolves this vulnerability.Fixed in 6.54.1 - Upgrade
Upgrade
Ghostto a version that resolves this vulnerability.Fixed in v6.54.1
Event History
Frequently Asked Questions
What is the severity of GHSA-cjc9-q5gf-327p?
The severity of GHSA-cjc9-q5gf-327p is medium with a score of 6.6.
How do I fix GHSA-cjc9-q5gf-327p?
To fix GHSA-cjc9-q5gf-327p, upgrade to Ghost version 6.54.1 or later.
What impact does GHSA-cjc9-q5gf-327p have?
GHSA-cjc9-q5gf-327p allows a staff user to write files outside of the uploads directory, potentially altering site behavior.
Which versions of Ghost are vulnerable to GHSA-cjc9-q5gf-327p?
Ghost versions from v0.10.0 up to v6.54.0 are vulnerable to GHSA-cjc9-q5gf-327p.
What type of vulnerability is GHSA-cjc9-q5gf-327p categorized as?
GHSA-cjc9-q5gf-327p is categorized as a Path Traversal vulnerability.