CVE-2021-29484
DOM XSS in Theme Preview
Record summary
CVE-2021-29484 has a selected CVSS score of 6.8 (medium); EIP currently links 1 Nuclei template.
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.
Exploitation context
Available material
- Nuclei templates
- 1
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
| CVE List | >= 4.0.0, < 4.3.3 | affected | |
ghostBrowse npm / ghost | GitHub Advisory | 4.0.0 to < 4.3.3 · Fixed in 4.3.3 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMGhost CMS <=4.32 - Cross-Site ScriptingCVSS 6.8
Ghost CMS 4.0.0 to 4.3.2 contains a DOM cross-site scripting vulnerability. An unused endpoint added during the development of 4.0.0 allows attackers to gain access by getting logged-in users to click a link containing malicious code.
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website.
Remediation
This issue has been fixed in 4.3.3.
Source: ProjectDiscovery