CVE-2021-29484
Description
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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
Timeline
- 2021-04-29Published by the CNA20:35 UTC
- 2021-04-29GitHub advisory published (GHSA-9fgx-q25h-jxrg)same day
Exploit and advisory records
Nuclei templates:
- CVE-2021-29484: Ghost CMS <=4.32 - Cross-Site Scripting
GitHub advisory GHSA-9fgx-q25h-jxrg, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm ghost | from 4.0.0 before 4.3.3 | 4.3.3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| ghost ghost | from 4.0.0 before 4.3.3fixed in 4.3.3 | 4.3.3 |
References
- https://forum.ghost.org/t/critical-security-update-available-for-ghost-4-x/22290
- https://blog.sonarsource.com/ghost-admin-takeover
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-9fgx-q25h-jxrg
- https://www.npmjs.com/package/ghost
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-29484'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-29484'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-29484'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-29484'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).