/

CVE-2026-103278

Severity:

HIGH RISK

(7.3)

Path Traversal (CWE-23) in Ghost Admin Iframe Page

CVE-2026-103278

Deferred

Vulnerability type

Category:

Path Traversal

CWE:

CWE-23

Impact:

Staff Account Takeover

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Ghost contains an input validation vulnerability in the admin iframe that can enable staff account takeover. An attacker with content publishing privileges may create a malicious page that compromises an active staff user's account when the page is visited.

Affected context

The issue occurs in Ghost deployments where:

  • Staff users access administrative functionality through or alongside the admin iframe
  • Users with content publishing privileges can create content that is later viewed by staff
  • Attacker-controlled input is processed without sufficient validation or boundary enforcement

Exploitation depends on a staff user visiting the malicious page while authenticated and active.

Exploit preconditions

  • Attack surface: Ghost content and the admin iframe
  • Required access: Content publishing privileges
  • Victim condition: An authenticated staff user must visit the crafted page
  • Trigger point: Processing attacker-controlled page input in the admin iframe
  • Why exploitation is possible: Improper validation allows crafted input to cross an administrative security boundary and affect the staff user's session or account context

Why this happens

The underlying issue is insufficient validation and isolation of attacker-controlled input processed by an administrative iframe. Input that should remain constrained to its intended content or resource context can be interpreted across a more privileged boundary, consistent with CWE-23: Path Traversal and related input-boundary failures. The insecure pattern is trusting user-controlled values without canonicalization, allowlisting, or strict enforcement of the permitted context.

Potential impact

  • An attacker may take over a staff user account
  • Administrative sessions could be compromised
  • Unauthorized content or configuration changes could occur
  • Compromised staff accounts could be used for further privilege abuse
  • Site content and administrative data could be exposed or modified

General mitigation guidance

Mitigation generally focuses on reducing trust in published content and enforcing strict boundaries around administrative iframe input.

Common defensive patterns include:

  • Applying context-aware allowlist validation to all iframe and content-related inputs
  • Canonicalizing values before security checks and rejecting ambiguous representations
  • Preventing published content from accessing administrative origins, session data, or privileged browser capabilities
  • Using restrictive iframe sandboxing and origin policies where appropriate
  • Separating content-rendering contexts from authenticated administrative contexts
  • Limiting publishing privileges according to least-privilege principles
  • Requiring appropriate reauthentication or additional verification for sensitive account actions

How teams detect issues like this

Organizations can look for this vulnerability class through:

  • Static analysis rules for unsanitized values reaching iframe, URL, path, or administrative DOM operations
  • Code review checks for missing canonicalization, allowlists, origin validation, and iframe isolation
  • Tests that exercise malformed, encoded, nested, and boundary-crossing input in content-rendering paths
  • Browser security policy monitoring for unexpected administrative-origin access from published content
  • Audit logging for unusual staff account changes following visits to recently published pages

Automated security testing and code review tools may help identify unsafe input flows before deployment.

Sources

SourceLink
github.comgithub.com/TryGhost/Ghost/security/advisories/GHSA-5pxf-whwv-g54g
vulncheck.comvulncheck.com/advisories/ghost-5.8.0-before-6.34.0-staff-account-takeover-via-admin-iframe

Frequently asked

questions

Exploitation generally requires content publishing privileges, allowing an attacker to create or modify content that staff users may later view.

No direct staff credentials may be required, but an authenticated and active staff user must visit the malicious page for the vulnerable input-processing path to be triggered.

Enforce strict, context-aware input validation and canonicalization, isolate published content from administrative contexts, and apply restrictive iframe and origin policies.

Treat published content as untrusted, test all administrative rendering boundaries, apply least privilege to publishing roles, and monitor sensitive account changes associated with suspicious content activity.

Find out what's already
exploitable in your codebase.