CRITICAL🇵🇱 Wersja polska

CVE-2024-23724

CVSS 9.0v3.1pub. 2024-02-11upd. 2024-11-21

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

🤖 AI Analysis
How it works

An attacker with contributor privileges uploads an SVG file containing embedded JavaScript code as a profile picture. When the SVG file is rendered by the victim's browser, the malicious script executes in the context of the application and communicates with the local Ghost API listening on TCP port 3001. Through API queries, the attacker can perform operations on behalf of the logged-in victim, including compromising their account regardless of permission level.

Impact

An attacker can compromise any Ghost CMS user account, including the administrator account, gaining full control over the application instance. The result is complete breach of confidentiality, integrity, and availability of data and the system.

Mitigation & patch

Apply patches available from the vendor according to the references (pull request #19646 in the TryGhost/Ghost repository). It is also recommended to restrict the ability to upload SVG files as avatars by users with low privileges and to monitor API activity on port 3001.

Who is affected

Ghost CMS versions up to and including 5.76.0

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
  • Ghost

    APP
    Ghost
    ≤ 5.76.0
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
XSSLPE
CWE
References

Related vulnerabilities

CVE-2026-26980CRITICAL9.4PL ✓same product

Ghost CMS: nieuwierzytelniony odczyt bazy danych przez SQL injection

CVE-2024-34451CRITICAL9.1PL ✓same product

Ghost CMS – obejście limitu prób uwierzytelnienia przez nagłówki X-Forwarded-For

CVE-2022-28397CRITICAL9.8PL ✓same product

Ghost CMS: Arbitrary File Upload umożliwiający wykonanie kodu (RCE)

CVE-2022-27139CRITICAL9.8PL ✓same product

Ghost v4.39.0 — przesyłanie plików SVG z potencjalnym wykonaniem kodu po stronie klienta

CVE-2026-29784HIGH7.5same product

Ghost is a Node.js content management system. From version 5.101.6 to 6.19.2, incomplete CSRF protections arou...