Vulnerabilities in pkg:npm/ghost
PACKAGECVE-2026-105642 is a HIGH (CVSS 8.8) remote code execution vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Ghost libraries in the npm ecosystem. The issue involves remote code execution via bookmark card images. Remediation is available by upgrading affected packages to version 6.67.0.
pkg:npm/ghost
Vulnerability advisories affecting package pkg:npm/ghost. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-788w-68h3-cvxp | CVE-2026-105642 | HIGH | Ghost: Remote Code Execution via Bookmark Card Images |
| GHSA-69qc-f5m6-889c | CVE-2026-105643 | HIGH | Ghost: Stored XSS via Embed Card Previews |
| GHSA-hqq2-xqr2-fmx2 | CVE-2026-105644 | MODERATE | Ghost : Stored XSS via SVG Files in Content Imports |
| GHSA-9m4w-fmjw-fvjq | CVE-2026-105645 | MODERATE | Ghost: Regular Expression Denial of Service in External Media Inliner |
| GHSA-fwh9-qg68-vxp4 | CVE-2026-105646 | MODERATE | Ghost: Regular Expression Denial of Service in Content Import |
| GHSA-322m-ff4g-9vx9 | CVE-2026-105647 | MODERATE | Ghost: Server-Side Request Forgery in Bookmark Fetching |
| GHSA-r7f2-6fj8-6fg2 | CVE-2026-105648 | MODERATE | Ghost: Private IP Filtering Bypass via IPv6 Transition Addresses |
| GHSA-8575-cr6v-7jh4 | CVE-2026-105649 | HIGH | Ghost: Stored XSS via SVG Uploads Bypassing Sanitization |
| GHSA-v3xr-g6p2-fvgv | CVE-2026-105650 | HIGH | Ghost: Stored XSS via oEmbed Photo Responses |
| GHSA-347q-26qq-h2p6 | CVE-2026-105651 | HIGH | Ghost: Stored XSS via Bookmark Card Images |
| GHSA-53vv-xm9f-mm82 | CVE-2026-105652 | LOW | Ghost: Password Hash Ordering Disclosure in Ghost Admin API |
| GHSA-v6q3-xqxm-6f5v | CVE-2026-105675 | HIGH | Ghost: Invite Token Disclosure in Ghost Admin API |
| GHSA-m382-6jw4-fmp6 | CVE-2026-105676 | MODERATE | Ghost: Path Traversal via Locale Setting |
| GHSA-jj74-hc2q-xrvm | CVE-2026-105677 | HIGH | Ghost: Remote Code Execution via Theme Translation Files |
| GHSA-4pvx-fwjj-8gpc | CVE-2026-105678 | MODERATE | Ghost: Editors Could Promote Staff Users to Their Own Role |
| GHSA-gfjp-2p8f-94qv | CVE-2026-105679 | HIGH | Ghost: Stored XSS via File Uploads on Local Storage |
| GHSA-x3mg-q38v-m562 | CVE-2026-105680 | MODERATE | Ghost: Authorization Issue Allowed Author Role to Delete any Post |
| GHSA-6q6j-f24j-p477 | CVE-2026-105681 | MODERATE | Ghost: Authorization Bypass in Comments Feature |
| GHSA-354h-gmhv-mr9c | CVE-2026-105682 | LOW | Ghost: Server-Side Request Forgery in Webhook Trigger |
| GHSA-83rp-q473-j88c | CVE-2026-105683 | LOW | Ghost: Path Traversal Vulnerability in Ghost ImageSize Service |
| GHSA-jx35-x7fj-vgpr | CVE-2026-53949 | MODERATE | Ghost Content API filter bypass reveals private fields |
| GHSA-pr22-p9rp-2cqv | CVE-2026-70596 | MODERATE | Ghost: Cross-Site Scripting in Feature Image Captions |
| GHSA-x5mm-wm4g-j5xv | CVE-2026-70595 | MODERATE | Ghost: Server-Side Request Forgery Mitigation Issue |
| GHSA-xm43-3m56-w3wf | CVE-2026-59817 | MODERATE | Ghost: Paid gift memberships obtainable at minimal cost via the donations feature |
| GHSA-chgm-3698-jm42 | CVE-2026-53947 | MODERATE | Ghost: Member existence leak via magic link sign-in response |
| GHSA-7mpp-r37j-x5wh | CVE-2026-70594 | MODERATE | Ghost: Session Fixation in Ghost Admin |
| GHSA-cjc9-q5gf-327p | CVE-2026-70593 | MODERATE | Ghost: Theme Upload Path Traversal |
| GHSA-cj62-hvv2-2q5h | CVE-2026-70592 | MODERATE | Ghost: Database Backup Path Traversal |
| GHSA-gcvv-72q8-9v76 | CVE-2026-70591 | MODERATE | Ghost: Server-Side Request Forgery in Image Fetching |
| GHSA-jm22-3w23-5q7w | CVE-2026-70590 | MODERATE | Ghost: Blind Password Hash Disclosure in Ghost Admin API |
| GHSA-g366-23fw-ggp6 | CVE-2026-53946 | MODERATE | Ghost: Mobiledoc image-size fetch SSRF |
| GHSA-ch52-px8q-f22j | CVE-2026-53945 | MODERATE | Ghost: Server-side request forgery via DNS rebinding in external request handling |
| GHSA-wvp2-4qqp-4h3r | CVE-2026-53944 | MODERATE | Ghost: Private IP filtering bypass to make server-side requests to internal services |
| GHSA-4wx2-7gvj-qfq3 | CVE-2026-70589 | MODERATE | Ghost: Archived Offers can be Redeemed |
| GHSA-944x-pm95-3jpr | CVE-2026-53948 | MODERATE | Ghost: File Upload Content-Type Spoofing |
| GHSA-2gx6-7gx2-wwcf | CVE-2026-70588 | MODERATE | Ghost: Cross-Site Scripting in Universal Import |
| GHSA-62q6-4hv4-vjrw | CVE-2026-53943 | CRITICAL | Ghost: Cache-poisoning XSS in Ghost frontend via x-ghost-preview header |
| GHSA-w52v-v783-gw97 | CVE-2026-26980 | CRITICAL | Ghost has a SQL injection in Content API |
| GHSA-9m84-wc28-w895 | CVE-2026-29784 | HIGH | Ghost has incomplete CSRF protections around OTC use |
| GHSA-cgc2-rcrh-qr5x | CVE-2026-29053 | HIGH | Ghost Vulnerable to Remote Code Execution via Malicious Themes |
| GHSA-gv6q-2m97-882h | CVE-2026-24778 | HIGH | Ghost vulnerable to XSS via malicious Portal preview links |
| GHSA-vmc4-9828-r48r | CVE-2026-22597 | MODERATE | Ghost has SSRF via External Media Inliner |
| GHSA-gjrp-xgmh-x9qq | CVE-2026-22596 | MODERATE | Ghost has SQL Injection in Members Activity Feed |
| GHSA-9xg7-mwmp-xmjx | CVE-2026-22595 | HIGH | Ghost has Staff Token permission bypass |
| GHSA-5fp7-g646-ccf4 | CVE-2026-22594 | HIGH | Ghost has Staff 2FA bypass |
| GHSA-f7qg-xj45-w956 | CVE-2025-9862 | MODERATE | Ghost vulnerable to Server Side Request Forgery (SSRF) via oEmbed Bookmark |
| GHSA-78x2-cwp9-5j42 | CVE-2024-43409 | MODERATE | Ghost's improper authentication allows access to member information and actions |
| GHSA-99vc-xw8j-phjm | CVE-2024-23724 | MODERATE | Ghost has possible Cross-site Scripting issue |
| GHSA-ffhq-g856-9f2p | CVE-2022-28397 | CRITICAL | Arbitrary file upload in Ghost |
| GHSA-fh38-9fgr-454w | CVE-2024-23725 | MODERATE | Cross-site Scripting in Ghost |
| GHSA-9c9v-w225-v5rg | CVE-2023-40028 | MODERATE | Ghost vulnerable to arbitrary file read via symlinks in content import |
| GHSA-wf7x-fh6w-34r6 | CVE-2023-32235 | HIGH | Path Traversal in Ghost |
| GHSA-r97q-ghch-82j9 | CVE-2023-31133 | HIGH | Ghost vulnerable to information disclosure of private API fields |
| GHSA-9gh8-wp53-ccc6 | CVE-2022-41654 | HIGH | ghost vulnerable to unauthorized newsletter modification via improper access controls |
| GHSA-9fgx-q25h-jxrg | CVE-2021-29484 | MODERATE | DOM XSS in Theme Preview |
| GHSA-7v28-g2pq-ggg8 | - | MODERATE | Ghost vulnerable to remote code execution in locale setting change |
| GHSA-fvc6-qjp7-m4g4 | CVE-2022-27139 | CRITICAL | Arbitrary file upload in Ghost |
| GHSA-65p7-pjj8-ggmr | - | MODERATE | Member account takeover |
| GHSA-wfrj-qqc2-83cm | - | MODERATE | Remote command injection when using sendmail email transport |
| GHSA-j5c2-hm46-wp5c | CVE-2021-39192 | MODERATE | Privilege escalation: all users can access Admin-level API keys |
| GHSA-q4h8-7qff-gh6c | CVE-2020-8134 | MODERATE | Server-side request forgery in Ghost CMS |
CVE-2026-105642 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2026-105642
To remediate this vulnerability, upgrade all affected Ghost dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install ghost@6.67.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls ghost
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-105642, inspect your project dependencies using npm:
npm ls ghost
Analyze the terminal output to locate any version of Ghost in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.67.0), your application is affected.
Note: The npm ls ghost command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Ghost, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-105642 Affected Ghost Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ghost
|
npm |
≥ 6.56.0
< 6.67.0
|
6.67.0
|
References
Frequently Asked Questions
What is CVE-2026-105642?
Which Ghost versions are affected?
What version fixes CVE-2026-105642?
Is ghost affected?
What is the CVSS score of CVE-2026-105642?
What CWE is associated with CVE-2026-105642?
How can I check npm dependencies for CVE-2026-105642?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-788w-68h3-cvxp",
"modified" : "2026-10-07T20:43:08Z",
"published" : "2026-10-07T20:43:08Z",
"aliases" : [ "CVE-2026-105642" ],
"summary" : "Ghost: Remote Code Execution via Bookmark Card Images",
"details" : "### Impact\n\nAn image processing library bundled with Ghost contained a vulnerability in its SVG handling. Any staff user, including Contributors, could create a bookmark card for an attacker-controlled website, resulting in arbitrary commands being run on the Ghost server.\n\n### Vulnerable versions\n\nThis vulnerability is present in Ghost from v6.56.0 up to v6.65.0.\n\n### Patches\n\nv6.67.0 contains a fix for this issue.\n\n### How to update\n\nFor self-hosters using Docker, find [Docker's official Ghost image here](https://hub.docker.com/_/ghost). Updating a Docker-based Ghost instance [is documented here](https://docs.ghost.org/install/docker#updating-ghost). \n\nIf your Ghost is a Ghost-CLI install see our documentation on [updating it to the latest version here](https://docs.ghost.org/update). \n\n### References\n\nWe thank [Rafael B.](https://github.com/rafabd1) for disclosing this vulnerability responsibly.\n\n### For more information\n\nIf you have any questions or comments about this advisory, email us at [security@ghost.org](mailto:security@ghost.org).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "ghost"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.56.0"
}, {
"fixed" : "6.67.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/TryGhost/Ghost/security/advisories/GHSA-788w-68h3-cvxp"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-105642"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/TryGhost/Ghost"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1395", "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-07T20:43:08Z",
"nvd_published_at" : "2026-10-05T19:17:18Z"
}
}