GHSA-2gx6-7gx2-wwcf: XSS
Impact
The Universal Import feature in Ghost Admin failed to properly sanitize imported content resulting in XSS in post content.
Vulnerable versions
This vulnerability is present in Ghost from v5.26.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.
Workarounds
If upgrading immediately is not possible, avoid using the Universal Import feature.
References
Ghost thanks meifukun for disclosing this vulnerability responsibly.
For more information
If you have any questions or comments about this advisory, email us 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 6.54.1 - Configuration
If upgrading immediately is not possible, avoid using the Universal Import feature, as it failed to properly sanitize imported content leading to XSS in post content.
Ghost Admin Universal Import feature = avoid using
Event History
Frequently Asked Questions
What is the severity of GHSA-2gx6-7gx2-wwcf?
The severity of GHSA-2gx6-7gx2-wwcf is medium with a score of 5.
How do I fix GHSA-2gx6-7gx2-wwcf?
To fix GHSA-2gx6-7gx2-wwcf, update Ghost to version 6.54.1 or later.
What vulnerability type is associated with GHSA-2gx6-7gx2-wwcf?
GHSA-2gx6-7gx2-wwcf is associated with Cross-Site Scripting (XSS) vulnerabilities.
Which Ghost versions are affected by GHSA-2gx6-7gx2-wwcf?
Ghost versions from v5.26.0 up to v6.54.0 are affected by GHSA-2gx6-7gx2-wwcf.
What is the impact of GHSA-2gx6-7gx2-wwcf?
GHSA-2gx6-7gx2-wwcf allows XSS vulnerabilities in post content due to improper sanitization of imported content.