SecurityContext

CVE-2024-23724: Ghost - Stored XSS & Privilege Escalation

  • Cve: CVE-2024-23724
  • Name: Ghost - Stored XSS & Privilege Escalation
  • Description: Ghost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any account, via an SVG profile picture that contains JavaScript code to interact with the API on localhost TCP port 3001. NOTE: The discoverer reports that "The vendor does not view this as a valid vector."
  • Impact: Attackers can execute arbitrary scripts, escalate privileges, and potentially take over user accounts.
  • Remediation: Update to the latest version where the vulnerability is fixed or sanitize SVG uploads to prevent JavaScript execution.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
  • Epss score: 0.03485
  • Epss percentile: 0.89419
  • Assignee: [email protected]
  • Published at: 2024-02-11T01:15:08Z
  • Age in days: 1017
  • Modified at: 2026-06-17T07:13:27Z
  • Patch available: yes
  • Public exploits total: 3
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-23724
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/RhinoSecurityLabs/CVEs/tree/master/CVE-2024-23724nvd2024-02-11
https://github.com/gl1tch0x1/Ghost-CMS-Exploitpoc-in-github2025-02-23
https://github.com/Youssefdds/CVE-2024-23724poc-in-github2025-01-19

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/TryGhost/Ghost/pull/19646Patch
https://github.com/RhinoSecurityLabs/CVEs/tree/master/CVE-2024-23724Exploit, Vendor Advisory
https://rhinosecuritylabs.com/blog/Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
ghost:ghost<= 5.76.0nonvd/v1/products/ghost/ghost

Projects

RepositoryLink kindsIndexedUrl
tryghost/ghostpackage, pullyes/v1/repositories/tryghost/ghost

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2024-02-11
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 9177
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports