Ghost: Stored XSS via File Uploads on Local Storage
Ghost is a Node.js content management system. From 6.22.1 until 6.64.0, Ghost restricted the content type used to serve uploaded files to prevent browsers from executing them. On sites using the default local storage adapter, this restriction was not applied, so files uploaded by any staff user were served with a content type derived from their file extension. This could be used 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.64.0.
- Products
- ghost
- Affected versions
- Not specified
- Fixed versions
- 6.64.0
- CVEs
- CVE-2026-104411, CVE-2026-105679
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 09:02 UTC · Revision 1
Source evidence
Ghost: Stored XSS via File Uploads on Local Storage
core-osv · Original sourcePublished 13 Oct 2026, 06:50 UTC
Ghost is a Node.js content management system. From 6.22.1 until 6.64.0, Ghost restricted the content type used to serve uploaded files to prevent browsers from executing them. On sites using the default local storage adapter, this restriction was not applied, so files uploaded by any staff user were served with a content type derived from their file extension. This could be used 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.64.0.
osv:BIT-ghost-2026-105679
ghost
Fixed versions: 6.64.0
Complete source record
{
"id": "5e8e35e3e60d64829b6dcd7a758107d242f508ffad45f6ea5995c8538971536c",
"url": "https://osv.dev/vulnerability/BIT-ghost-2026-105679",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Ghost: Stored XSS via File Uploads on Local Storage",
"summary": "Ghost is a Node.js content management system. From 6.22.1 until 6.64.0, Ghost restricted the content type used to serve uploaded files to prevent browsers from executing them. On sites using the default local storage adapter, this restriction was not applied, so files uploaded by any staff user were served with a content type derived from their file extension. This could be used 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.64.0.",
"evidence": "osv:BIT-ghost-2026-105679",
"products": [
{
"name": {
"value": "ghost",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.64.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "BIT-ghost-2026-105679",
"aliases": [
"BIT-ghost-2026-104411",
"BIT-ghost-2026-105679",
"CVE-2026-104411",
"CVE-2026-105679",
"GHSA-gfjp-2p8f-94qv"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "6.22.1"
},
{
"fixed": "6.64.0"
}
]
}
],
"package": {
"name": "ghost",
"purl": "pkg:bitnami/ghost",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/ghost/BIT-ghost-2026-105679.json"
}
}
],
"modified": "2026-10-13T08:26:00.402598962Z",
"provider": "osv",
"references": [
"https://github.com/TryGhost/Ghost/commit/58669d5c8b898f8b69c1287c2779b29ecc7eb918",
"https://github.com/TryGhost/Ghost/pull/30762",
"https://github.com/TryGhost/Ghost/releases/tag/v6.64.0",
"https://github.com/TryGhost/Ghost/security/advisories/GHSA-gfjp-2p8f-94qv",
"https://nvd.nist.gov/vuln/detail/CVE-2026-105679"
],
"provider_metadata": {
"cpes": [
"cpe:2.3:a:ghost:ghost:*:*:*:*:*:node.js:*:*"
],
"severity": "High"
}
},
"related_cves": [
{
"value": "CVE-2026-104411",
"evidence": "/aliases"
},
{
"value": "CVE-2026-105679",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 307501,
"published_at": "2026-10-13T06:50:31.151+00:00"
}