Description
Ghost is a Node.js content management system. From 4.22.0 until 6.65.0, SVG media thumbnails and SVG images uploaded with a non-SVG file extension were stored without sanitization. This allowed any staff user, including Contributors, to host scripts on the site's domain, possibly resulting in compromise of other staff users' admin sessions. This issue is fixed in version 6.65.0.
Published: 2026-10-05
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Patch Immediately
AI Analysis

Impact

Ghost, a Node.js CMS, contains a stored cross‑site scripting flaw in media handling. From version 4.22.0 through 6.65.0, SVG thumbnails and images uploaded with a non‑SVG file extension were saved without sanitization. A staff user, including those with Contributor privileges, can upload such a file containing malicious JavaScript that runs in the browser of any other staff member who views the media, enabling the attacker to hijack administrator sessions and potentially execute commands on the server. The vulnerability is a classic example of insecure file upload (CWE‑434) combined with reflected XSS (CWE‑79).

Affected Systems

The affected product is Ghost, the content management system from TryGhost. Vulnerable versions span from 4.22.0 up to, but not including, 6.65.0. Any deployment of Ghost within that range that permits staff uploads of SVG files with non‑SVG extensions is susceptible.

Risk and Exploitability

The CVSS score is 7.3, indicating high severity. The exploit probability score (EPSS) is not available, but the absence of a KEV listing suggests there is no confirmed exploitation yet. Attackers would need a staff user account with permission to upload media and would place a crafted SVG containing JavaScript into the upload. Because the vulnerability allows code to execute within the context of other staff members' browsers, it has the potential to lead to compromise of administrative accounts and lateral movement. The flaw remains unpatched until the customer upgrades to Ghost 6.65.0 or newer, which includes the necessary sanitization.

Generated by OpenCVE AI on October 5, 2026 at 20:45 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Ghost to version 6.65.0 or newer to apply the vendor‑provided fix.
  • If an immediate upgrade is not feasible, block or restrict staff uploads of SVG files that do not have a proper SVG extension until the patch is applied.
  • Monitor media upload logs for anomalous SVG files and enforce strict MIME type checks to prevent malicious content from being stored.

Generated by OpenCVE AI on October 5, 2026 at 20:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8575-cr6v-7jh4 Ghost: Stored XSS via SVG Uploads Bypassing Sanitization
History

Tue, 06 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Ghost
Ghost ghost
Vendors & Products Ghost
Ghost ghost

Tue, 06 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 05 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Description Ghost is a Node.js content management system. From 4.22.0 until 6.65.0, SVG media thumbnails and SVG images uploaded with a non-SVG file extension were stored without sanitization. This allowed any staff user, including Contributors, to host scripts on the site's domain, possibly resulting in compromise of other staff users' admin sessions. This issue is fixed in version 6.65.0.
Title Ghost: Stored XSS via SVG Uploads Bypassing Sanitization
Weaknesses CWE-434
CWE-79
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-06T14:51:50.796Z

Reserved: 2026-10-05T16:40:39.613Z

Link: CVE-2026-105649

cve-icon Vulnrichment

Updated: 2026-10-06T14:36:06.599Z

cve-icon NVD

Status : Deferred

Published: 2026-10-05T20:17:13.613

Modified: 2026-10-06T15:17:14.030

Link: CVE-2026-105649

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-06T20:45:05Z

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')