Ghost: Stored XSS via SVG Uploads Bypassing Sanitization
### Impact SVG media thumbnails, and SVG images uploaded with a non-SVG file extension, were stored without sanitization. This allowed any staff user, including Contributors, to host scripts on the site's domain, possibly resulting in compromise of other staff users' admin sessions. ### Vulnerable versions This vulnerability is present in Ghost from v4.22.0 up to v6.64.0. ### Patches v6.65.0 contains a fix for this issue. ### How to update For 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). If your Ghost is a Ghost-CLI install see our documentation on [updating it to the latest version here](https://docs.ghost.org/update). ### References Ghost thanks [Ibrahim AlJaafreh](https://cystack.ps) of Cystack Red Team, [Anand Prajapati](https://www.linkedin.com/in/anand-prajapati-7a265a369/), [白墨](https://github.com/5255fgh), and [Nhat Anh Vu](https://github.com/nhattanhh) for disclosing this vulnerability responsibly. ### For more information If you have any questions or comments about this advisory, email us at [security@ghost.org](mailto:security@ghost.org).
- Products
- ghost
- Affected versions
- Not specified
- Fixed versions
- 6.65.0
- CVEs
- CVE-2026-105649
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 09:02 UTC · Revision 1
Source evidence
Ghost: Stored XSS via SVG Uploads Bypassing Sanitization
core-osv · Original sourcePublished 7 Oct 2026, 20:35 UTC
### Impact SVG media thumbnails, and SVG images uploaded with a non-SVG file extension, were stored without sanitization. This allowed any staff user, including Contributors, to host scripts on the site's domain, possibly resulting in compromise of other staff users' admin sessions. ### Vulnerable versions This vulnerability is present in Ghost from v4.22.0 up to v6.64.0. ### Patches v6.65.0 contains a fix for this issue. ### How to update For 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). If your Ghost is a Ghost-CLI install see our documentation on [updating it to the latest version here](https://docs.ghost.org/update). ### References Ghost thanks [Ibrahim AlJaafreh](https://cystack.ps) of Cystack Red Team, [Anand Prajapati](https://www.linkedin.com/in/anand-prajapati-7a265a369/), [白墨](https://github.com/5255fgh), and [Nhat Anh Vu](https://github.com/nhattanhh) for disclosing this vulnerability responsibly. ### For more information If you have any questions or comments about this advisory, email us at [security@ghost.org](mailto:security@ghost.org).
osv:GHSA-8575-cr6v-7jh4
ghost
Fixed versions: 6.65.0
Complete source record
{
"id": "bd6d06c23719960a7b652038838f153ea84b4b79e2e6bd26a2ad20be5067cc65",
"url": "https://osv.dev/vulnerability/GHSA-8575-cr6v-7jh4",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Ghost: Stored XSS via SVG Uploads Bypassing Sanitization",
"summary": "### Impact SVG media thumbnails, and SVG images uploaded with a non-SVG file extension, were stored without sanitization. This allowed any staff user, including Contributors, to host scripts on the site's domain, possibly resulting in compromise of other staff users' admin sessions. ### Vulnerable versions This vulnerability is present in Ghost from v4.22.0 up to v6.64.0. ### Patches v6.65.0 contains a fix for this issue. ### How to update For 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). If your Ghost is a Ghost-CLI install see our documentation on [updating it to the latest version here](https://docs.ghost.org/update). ### References Ghost thanks [Ibrahim AlJaafreh](https://cystack.ps) of Cystack Red Team, [Anand Prajapati](https://www.linkedin.com/in/anand-prajapati-7a265a369/), [白墨](https://github.com/5255fgh), and [Nhat Anh Vu](https://github.com/nhattanhh) for disclosing this vulnerability responsibly. ### For more information If you have any questions or comments about this advisory, email us at [security@ghost.org](mailto:security@ghost.org).",
"evidence": "osv:GHSA-8575-cr6v-7jh4",
"products": [
{
"name": {
"value": "ghost",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.65.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "GHSA-8575-cr6v-7jh4",
"aliases": [
"BIT-ghost-2026-105649",
"CVE-2026-105649",
"GHSA-8575-cr6v-7jh4"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "4.22.0"
},
{
"fixed": "6.65.0"
}
]
}
],
"package": {
"name": "ghost",
"purl": "pkg:npm/ghost",
"ecosystem": "npm"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-8575-cr6v-7jh4/GHSA-8575-cr6v-7jh4.json"
}
}
],
"modified": "2026-10-13T08:25:41.799156137Z",
"provider": "osv",
"references": [
"https://github.com/TryGhost/Ghost/security/advisories/GHSA-8575-cr6v-7jh4",
"https://nvd.nist.gov/vuln/detail/CVE-2026-105649",
"https://github.com/TryGhost/Ghost/issues/30919",
"https://github.com/TryGhost/Ghost/commit/80686226d23df56749f6b7ebb484850a8eba8072",
"https://github.com/TryGhost/Ghost",
"https://github.com/TryGhost/Ghost/releases/tag/v6.65.0"
],
"provider_metadata": {
"cwe_ids": [
"CWE-434",
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-10-05T20:17:13Z",
"github_reviewed_at": "2026-10-07T20:35:22Z"
}
},
"related_cves": [
{
"value": "CVE-2026-105649",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 307486,
"published_at": "2026-10-07T20:35:22+00:00"
}