DOM XSS in Theme Preview
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| TryGhost | Ghost | 4.0.0 to before 4.3.3 | 4.3.3 | Patch available | CNA |
| — | ghost (npm) | 4.0.0 to before 4.3.3 | 4.3.3 | Patch available | GHSA-9fgx-q25h-jxrg |
- Ghost VendorTryGhost Affected 4.0.0 to before 4.3.3 Fixed in 4.3.3 Patch available CNA
- ghost (npm) Vendor— Affected 4.0.0 to before 4.3.3 Fixed in 4.3.3 Patch available GHSA-9fgx-q25h-jxrg
Remediation
- Fix · CNA Ghost (TryGhost) Fixed in 4.3.3
- Fix · GHSA-9fgx-q25h-jxrg ghost (npm) Fixed in 4.3.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-29484
- 2026-10-03 Alias added: GHSA-9fgx-q25h-jxrg
References
Advisory 4
More TryGhost Ghost vulnerabilities
- TI-2026-21459 Ghost has a SQL Injection in its Content API CVSS 3.1CRITICAL 9.4
- TI-2022-10277 An arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows… CVSS 3.1CRITICAL 9.8
- TI-2024-22785 Ghost through 5.85.1 allows remote attackers to bypass an authentication rate-limit… CVSS 3.1CRITICAL 9.1
- TI-2023-14843 Ghost vulnerable to disclosure of private API fields CVSS 3.1HIGH 7.5
- TI-2025-09049 Ghost 6.0.6 - SSRF via oEmbed Bookmark CVSS 4.0MEDIUM 6.1
- TI-2023-20918 Arbitrary file read via symlinks in Ghost CVSS 3.1MEDIUM 6.5
Sources
- CVE-2021-29484 · CVE Program
- CVE-2021-29484 · NVD
- FIRST EPSS
- GHSA-9fgx-q25h-jxrg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences