TryGhost Ghost
Ghost: Stored XSS via File Uploads on Local Storage
Ghost is a Node.js content management system. From 6.22.1 until 6.64.0, Ghost restricted the content type used to serve uploaded files to prevent browsers from executing them. On sites using the default local storage adapter, this restriction was not applied, so files uploaded by any staff user were served with a content type derived from their file extension. This could be used to host scripts on the site's domain, possibly resulting in compromise of other staff users' admin sessions. This issue is fixed in version 6.64.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.3high · scored by CNA · CWE-79
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
TryGhost Ghost
- >= 6.22.1, < 6.64.0
Fixed in 6.64.0
Mitigation
Upgrade Ghost to 6.64.0 or later.
References
- Vendor advisory github.com/TryGhost/Ghost/security/advisories/…
- Patch github.com/TryGhost/Ghost/pull/30762
- Patch github.com/TryGhost/Ghost/commit/58669d5c8b898…
1 more
- Release notes github.com/TryGhost/Ghost/releases/tag/v6.64.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.