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

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 7.94%, higher than 94% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-29T20:35:15.000Z
- Modified: 2026-09-08T08:47:17.537Z
- Also known as: GHSA-9fgx-q25h-jxrg, BIT-GHOST-2021-29484
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- TryGhost Ghost: >= 4.0.0, < 4.3.3
- ghost (npm): from 4.0.0 before 4.3.3
- ghost ghost: from 4.0.0 before 4.3.3
- ghost (Bitnami): from 4.0.0 before 4.3.3

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

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

## Sources

- CVE List: [CVE-2021-29484](https://www.cve.org/CVERecord?id=CVE-2021-29484), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-9fgx-q25h-jxrg](https://github.com/advisories/GHSA-9fgx-q25h-jxrg), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-29484](https://nvd.nist.gov/vuln/detail/CVE-2021-29484), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GHOST-2021-29484](https://osv.dev/vulnerability/BIT-GHOST-2021-29484), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-29484 · Whole record: https://cve.day/CVE-2021-29484.json · Rebuilt by cve.day 2026-11-25T22:58:01.115Z
