Skip to main content

Ghost CVE-2026-53950

| EUVDEUVD-2026-39019 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-06-24 GitHub_M GHSA-xpp7-93x6-v29m
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Stand up malicious ActivityPub server
  2. Delivery
    Federate with target Ghost instance
  3. Exploit
    Craft post with embedded JavaScript
  4. Execution
    Victim views shared post in client
  5. Persist
    Injected script executes in browser session
  6. Impact
    Steal session or act as user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the attacker control a maliciously customized ActivityPub server and that the victim Ghost instance (prior to 3.1.0) federate with or consume posts from that server - federation must be enabled and the victim must follow/receive the attacker's content. The victim user must then actively view the malicious shared post for the injected JavaScript to execute (UI:R in the CVSS vector). Limiting factors: the required attacker-operated federation peer and the high attack complexity (AC:H), the necessity of user interaction, and the fact that instances which do not enable ActivityPub federation or only federate with trusted servers are not realistically exposed. No target-side authentication is needed by the attacker (PR:N), but the practical barrier is establishing the federation relationship and getting the victim to render the content.

Impact

The CVSS 3.1 base score is 7.5 (High) with vector AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H. Two metrics meaningfully constrain real-world risk: AC:H reflects that the attacker must operate a maliciously customized ActivityPub server and have the victim instance federate with it, and UI:R requires the victim to actually view the malicious post. No EPSS score was provided, so exploitation probability cannot be quantified; the vulnerability is not in CISA KEV and no POC was supplied, so there is no evidence of active or automated exploitation. The C:H/I:H/A:H impact ratings are aggressive for a client-side XSS and likely reflect a worst-case account-takeover assumption rather than confirmed availability impact - XSS typically does not degrade availability, so the A:H rating should be treated with skepticism pending vendor detail. Net assessment: a credible but conditional risk - meaningful for instances that federate broadly with untrusted servers, lower priority for closed or tightly controlled federation, and not an emergency-patch scenario absent exploitation signals. SSVC inputs (automatable, exploitation status) were not provided in the input data.

Exploit ScenarioDerived

An attacker stands up or customizes an ActivityPub server and crafts a post containing embedded JavaScript, then ensures a victim Ghost instance federates with or follows that server. When a Ghost user opens or views the shared malicious post in the ActivityPub client, the injected script runs in their authenticated browser session, potentially exfiltrating session tokens or performing actions as that user. No public POC was provided, and the attack depends on the victim viewing the content (UI:R) and the relatively involved setup of a malicious federation peer (AC:H).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

Cross-site scripting (JavaScript injection) in Ghost's ActivityPub client (@tryghost/activitypub) prior to version 3.1.0 allows a malicious federated server to embed attacker-controlled script in shared posts that executes in the browser of a victim Ghost user who views the content. The flaw stems from improper sanitization of post content received over ActivityPub federation, enabling session theft or actions performed in the victim's authenticated context. There is no public exploit identified at the time of analysis, and the issue is not listed in CISA KEV.

RemediationAI

Upgrade the Ghost ActivityPub client (@tryghost/activitypub) to version 3.1.0 or later, which contains the fix; this is the primary and recommended remediation per the vendor advisory at https://github.com/TryGhost/Ghost/security/advisories/GHSA-xpp7-93x6-v29m. If immediate upgrade is not possible, reduce exposure by limiting or disabling ActivityPub federation, or by restricting which remote servers your instance federates with so content is only consumed from trusted sources - the trade-off is loss of social/federation functionality and reach. Additionally, deploying a restrictive Content-Security-Policy that disallows inline script execution in the Ghost client context can blunt injected JavaScript, though CSP is a defense-in-depth measure and may break legitimate inline scripts or themes and is not a substitute for the patch. Exact fix version: 3.1.0 (vendor-released patch).

Affected VersionsENISA

Ghost < 3.1.0

Affected Packages

npm @tryghost/activitypub fix: 3.1.0
euvd ghost fix: 3.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is @tryghost/activitypub, the social/federation client bundled with the Ghost publishing platform, which implements the ActivityPub protocol to consume and display posts from remote (federated) servers. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation / Cross-site Scripting): content fields delivered in ActivityPub objects from a remote actor are rendered into the Ghost client UI without adequate output encoding or HTML sanitization, so a remote server operator who customizes the ActivityPub responses can smuggle active JavaScript into the rendered post. The single CPE provided, cpe:2.3:a:tryghost:ghost:*, identifies the Ghost application generically; because federation inherently means processing untrusted data from servers outside the operator's control, any sanitization gap in the rendering path becomes directly attacker-influenceable.

Know when Ghost gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 6.9 MEDIUM

Network-delivered via federation (AV:N) but needs an attacker-run malicious server plus victim viewing (AC:H, UI:R); script escapes into the user's browser session (S:C, C:H), limited integrity impact and no real availability loss (A:N).

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Jun 24, 2026 - 20:03 EUVD

DescriptionCVE.org

@tryghost/activitypub is Ghost’s social/federation client app. Prior to 3.1.0, the ActivityPub client in Ghost was vulnerable to JavaScript injection on posts shared by a maliciously customised ActivityPub server. This vulnerability is fixed in 3.1.0.

Executive ViewAI

Why It Matters

Ghost installations running ActivityPub federation are vulnerable to a HIGH-severity cross-site scripting (XSS) attack where malicious federated servers can inject code that executes in the browser of authenticated Ghost users, potentially compromising sessions or enabling unauthorized content actions. This affects any organization using Ghost as a content platform that has enabled ActivityPub federation with untrusted or potentially compromised external servers. No public exploit identified at time of analysis, but no vendor-released patch is currently available, necessitating immediate mitigation controls to reduce exposure.

Business Impact: High
Compensating Controls

Disable ActivityPub federation in Ghost configuration if not business-critical; implement strict Content Security Policy (CSP) headers to block inline script execution; restrict outbound federation to pre-approved, trusted server instances only; deploy Web Application Firewall (WAF) rules to detect and block suspicious script injection patterns; monitor authenticated user sessions for evidence of compromise; establish rapid patch-deployment process to enable immediate deployment when vendor releases fix.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
popular open-source publishing platform; ActivityPub federation feature is newer and less universally enabled
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Ghost

View all
CVE-2026-22594 HIGH POC
8.1 Jan 10

Ghost CMS versions 5.105.0-5.130.5 and 6.0.0-6.10.3 contain an authentication bypass in their two-factor authentication

CVE-2026-29053 HIGH POC
7.6 Mar 05

Arbitrary code execution in Ghost CMS versions 0.7.2 through 6.19.0 allows authenticated attackers with theme upload pri

CVE-2022-28397 CRITICAL POC
9.8 Apr 12

An arbitrary file upload vulnerability in the file upload module of Ghost CMS v4.42.0 allows attackers to execute arbitr

CVE-2022-27139 CRITICAL POC
9.8 Apr 12

An arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows attackers to execute arbitrary

CVE-2026-26980 CRITICAL POC
9.4 Feb 20

SQL injection in Ghost CMS versions 3.24.0 through 6.19.0 allows unauthenticated attackers to read arbitrary database da

CVE-2024-34451 CRITICAL POC
9.1 Jun 16

Ghost through 5.85.1 allows remote attackers to bypass an authentication rate-limit protection mechanism by using many X

CVE-2024-23724 CRITICAL POC
9.0 Feb 11

Ghost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any acco

CVE-2024-34448 HIGH POC
8.8 May 22

Ghost before 5.82.0 allows CSV Injection during a member CSV export. Rated high severity (CVSS 8.8), this vulnerability

CVE-2020-8134 HIGH POC
8.1 Mar 20

Server-side request forgery (SSRF) vulnerability in Ghost CMS < 3.10.0 allows an attacker to scan local or external netw

CVE-2023-32235 HIGH POC
7.5 May 05

Ghost before 5.42.1 allows remote attackers to read arbitrary files within the active theme's folder via /assets/built%2

CVE-2021-29484 MEDIUM POC
6.8 Apr 29

Ghost is a Node.js CMS. Rated medium severity (CVSS 6.8), this vulnerability is remotely exploitable, no authentication

CVE-2023-40028 MEDIUM POC
6.5 Aug 15

Ghost is an open source content management system. Rated medium severity (CVSS 6.5), this vulnerability is remotely expl

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy