XSS in Ghost
CVE-2021-29484
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.079, 94.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ghost
- Tryghost Ghost — versions >= 4.0.0, < 4.3.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (20142995/nuclei-templates, ARPSyndicate/cvemon, ARPSyndicate/kenzer-templates, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/TryGhost/Ghost/security/advisories/GHSA-9fgx-q25h-jxrg (Third Party Advisory, Mitigation)
- forum.ghost.org/t/critical-security-update-available-for-ghost-4-x/22290 (Vendor Advisory)
- www.npmjs.com/package/ghost (Product, Third Party Advisory)
- blog.sonarsource.com/ghost-admin-takeover (Exploit, Third Party Advisory)