# CVE-2021-29484: DOM XSS in Theme Preview

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-04-29 · Modified: 2024-08-03
- Aliases: GHSA-9fgx-q25h-jxrg, BIT-ghost-2021-29484
- Record: https://cvemate.com/vulnerability/CVE-2021-29484 · JSON: https://cvemate.com/vulnerability/CVE-2021-29484/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 7.935%, percentile 94.887%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- ghost ghost: ≥ 4.0.0, \< 4.3.3
- Npm ghost (Npm): ≥ 4.0.0, \< 4.3.3
- tryghost ghost: ≥ 4.0.0, \< 4.3.3

## References

- <https://github.com/TryGhost/Ghost/security/advisories/GHSA-9fgx-q25h-jxrg>
- <https://forum.ghost.org/t/critical-security-update-available-for-ghost-4-x/22290>
- <https://www.npmjs.com/package/ghost>
- <https://blog.sonarsource.com/ghost-admin-takeover>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29484>
- <https://github.com/TryGhost/Ghost/commit/14b3431de12e674a0bd562e9230e2891b6903ae2>
- <https://github.com/TryGhost/Ghost>
- <https://security.netapp.com/advisory/ntap-20210618-0006>

---

Data as of 2026-12-05T10:23:21.278Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
