{"id":"CVE-2023-32235","published":"2023-05-05T00:00:00Z","modified":"2025-01-29T16:29:07Z","title":"Ghost before 5.42.1 allows remote attackers to read arbitrary files within the active theme's folder via…","vendor":null,"product":null,"tier":"core","eol":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-01-29T16:27:01.143567Z","from":"CISA ADP","provenance":"source"},"description":{"text":"Ghost before 5.42.1 allows remote attackers to read arbitrary files within the active theme's folder via /assets/built%2F..%2F..%2F/ directory traversal. This occurs in frontend/web/middleware/static-theme.js.","provenance":"source","from":"CVE.org"},"summary":{"text":"Ghost versions before 5.42.1 contain a directory traversal flaw in the static theme middleware (frontend/web/middleware/static-theme.js), which serves assets from the active theme's folder. The flaw lets an attacker send a crafted /assets/built%2F..%2F..%2F/ request, and no authentication, user interaction or special configuration is needed, so it can be exploited remotely over the network to read arbitrary files within the theme folder.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:19:10Z"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.39078,"percentile":0.98628,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-12-04","exploitedFirstSeen":"2023-12-04","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-04&host_type=src&vulnerability=cve-2023-32235","date":"2023-12-04"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-20&host_type=src&vulnerability=cve-2023-32235","date":"2023-12-20"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-14&host_type=src&vulnerability=cve-2023-32235","date":"2024-01-14"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-22&host_type=src&vulnerability=cve-2023-32235","date":"2024-01-22"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-24&host_type=src&vulnerability=cve-2023-32235","date":"2024-01-24"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-28&host_type=src&vulnerability=cve-2023-32235","date":"2024-01-28"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-30&host_type=src&vulnerability=cve-2023-32235","date":"2024-01-30"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-08&host_type=src&vulnerability=cve-2023-32235","date":"2024-02-08"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-09&host_type=src&vulnerability=cve-2023-32235","date":"2024-02-09"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-02-14&host_type=src&vulnerability=cve-2023-32235","date":"2024-02-14"}],"evidenceTotal":324,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/TryGhost/Ghost/commit/378dd913aa8d0fd0da29b0ffced8884579598b0f","tags":[]},{"url":"https://github.com/TryGhost/Ghost/compare/v5.42.0...v5.42.1","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"npm","package":"ghost","vulnerableRanges":["<5.42.1"],"patched":["5.42.1"],"from":["GHSA-wf7x-fh6w-34r6"],"provenance":"source"}],"advisories":[{"id":"GHSA-wf7x-fh6w-34r6","url":"https://github.com/advisories/GHSA-wf7x-fh6w-34r6","severity":"HIGH","ecosystem":"npm","package":"ghost","vulnerableRanges":["<5.42.1"],"patched":["5.42.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2023-1639","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-1639","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":52408,"url":"https://www.exploit-db.com/exploits/52408","title":"Ghost CMS 5.42.1 - Path Traversal","type":"webapps","platform":"multiple","date":"2025-08-11","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2025-08-11"},"pocGithub":{"count":1,"skipped":0,"earliest":"2023-07-09","earliestUrl":"https://github.com/AXRoux/Ghost-Path-Traversal-CVE-2023-32235-","repos":[{"name":"AXRoux/Ghost-Path-Traversal-CVE-2023-32235-","url":"https://github.com/AXRoux/Ghost-Path-Traversal-CVE-2023-32235-","stars":4,"created":"2023-07-09"}]},"nuclei":[{"id":"CVE-2023-32235","name":"Ghost CMS < 5.42.1 - Path Traversal","severity":"high","path":"http/cves/2023/CVE-2023-32235.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-32235.yaml"}],"first":{"date":"2023-07-09","source":"PoC-in-GitHub","url":"https://github.com/AXRoux/Ghost-Path-Traversal-CVE-2023-32235-"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-05-05","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-32235","provenance":"source"},{"date":"2023-07-09","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2025-08-11","url":"https://github.com/AXRoux/Ghost-Path-Traversal-CVE-2023-32235-","provenance":"source"},{"date":"2023-12-04","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-12-04&host_type=src&vulnerability=cve-2023-32235","provenance":"source"}],"speed":{"daysToPublicExploit":65,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":65.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1083 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.73,"detail":"percentile 0.9863"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":5.25,"detail":"base score 7.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2021-29484","published":"2021-04-29","fixed":"4.3.3","kev":false},{"cve":"CVE-2021-39192","published":"2021-09-03","fixed":"4.10.0","kev":false},{"cve":"CVE-2022-41654","published":"2022-12-23","fixed":"5.22.7","kev":false,"link":{"from":"CVE-2022-41654","to":"CVE-2023-32235","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ghost","fromFixed":"5.22.7","toFixed":"5.42.1","daysApart":133}]}},{"cve":"CVE-2023-32235","published":"2023-05-05","fixed":"5.42.1","kev":false},{"cve":"CVE-2023-31133","published":"2023-05-08","fixed":"5.46.1","kev":false,"link":{"from":"CVE-2023-32235","to":"CVE-2023-31133","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ghost","fromFixed":"5.42.1","toFixed":"5.46.1","daysApart":3}]}},{"cve":"CVE-2023-40028","published":"2023-08-15","fixed":"5.59.1","kev":false},{"cve":"CVE-2024-23725","published":"2024-01-21","fixed":"5.76.0","kev":false}],"package":"npm:ghost"}}