🛡️ CVE-2021-29484 — ghost
Description
DOM XSS in Theme Preview
Ghost is a Node.js CMS. An unused endpoint added during the development of 4.0.0 has left sites vulnerable to untrusted users gaining access to Ghost Admin. Attackers can gain access by getting logged in users to click a link containing malicious code. Users do not need to enter credentials and may not know they've visited a malicious site. Ghost(Pro) has already been patched. We can find no evidence that the issue was exploited on Ghost(Pro) prior to the patch being added. Self-hosters are impacted if running Ghost a version between 4.0.0 and 4.3.2. Immediate action should be taken to secure your site. The issue has been fixed in 4.3.3, all 4.x sites should upgrade as soon as possible. As the endpoint is unused, the patch simply removes it. As a workaround blocking access to /ghost/preview can also mitigate the issue.
Affected software
CVE-2021-29484 is recorded against 1 package.
- ghost
Timeline and source
Published on 6 March 2024 and last revised on 20 May 2025. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
blog.sonarsource.com (Web)
forum.ghost.org (Web)
github.com (Web)
www.npmjs.com (Web)
nvd.nist.gov (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| ghost | — | — |
References
Similar Threats
- Critical CVE-2024-34451
- Critical CVE-2024-23724
- High CVE-2024-34448
- High CVE-2024-34559
- High CVE-2020-8134
More CVE 2021 advisories
Browse all of CVE 2021 in the advisory index.
Vulnerability Monitoring
Track new vulnerabilities in ghost
CVE-2021-29484 is rated CVSS 5.0 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.