GHSA-cgc2-rcrh-qr5x

Suggest an improvement
Source
https://github.com/advisories/GHSA-cgc2-rcrh-qr5x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-cgc2-rcrh-qr5x/GHSA-cgc2-rcrh-qr5x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cgc2-rcrh-qr5x
Aliases
Published
2026-03-03T20:01:21Z
Modified
2026-03-07T09:41:04.560861Z
Severity
  • 7.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Ghost Vulnerable to Remote Code Execution via Malicious Themes
Details

Impact

Specifically crafted malicious themes can execute arbitrary code on the server running Ghost.

Vulnerable Versions

This vulnerability is present in Ghost v0.7.2 to v6.19.0.

Patches

v6.19.1 contains a fix for this issue.

Workarounds

Ghost generally recommends users refrain from installing untrusted themes. If a malicious theme has already been installed, it is recommended to uninstall the theme and then inspect it to understand its impact, which will be attack-specific.

References

Ghost thanks Cristian-Alexandru Staicu at Endor Labs for disclosing this vulnerability responsibly.

For more information

If there are any questions or comments about this advisory, email Ghost at security@ghost.org.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-03T20:01:21Z",
    "cwe_ids": [
        "CWE-74"
    ],
    "severity": "HIGH",
    "nvd_published_at": "2026-03-05T06:16:50Z"
}
References

Affected packages

npm / ghost

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.7.2
Fixed
6.19.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-cgc2-rcrh-qr5x/GHSA-cgc2-rcrh-qr5x.json"
last_known_affected_version_range
"<= 6.19.0"