{"answers":{"affected":"3 open source packages ship an affected version, including ghost. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-32235 exists.","fix":"Upgrade ghost to 5.42.1 or later.","what":"CVE-2023-32235 is a high-severity path traversal vulnerability in n/a, published on 5 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-32235 and fix it if it is affected.\n\nWhat it is: CVE-2023-32235 is a high-severity path traversal vulnerability in n/a, published on 5 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-32235 exists.\n\nAffected packages and fixed versions:\n- ghost (Bitnami): affected all versions; fixed in 5.42.1\n- ghost (npm): affected all versions; fixed in 5.42.1\n- ghost (npm): affected all versions; fixed in 5.42.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-32235/ (Markdown: https://insights.sbomify.com/CVE-2023-32235/index.md)","id":"CVE-2023-32235","markdown":"https://insights.sbomify.com/CVE-2023-32235/index.md","name":"CVE-2023-32235","record":{"aliases":["BIT-ghost-2023-32235","GHSA-wf7x-fh6w-34r6"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Ghost CMS","requires_auth":"none","summary":"Remote attackers can read arbitrary files in the active theme folder via directory traversal in Ghost CMS.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ghost","vendor":"ghost"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"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.","ecosystems":["Bitnami","npm"],"exploits":{"exploitdb":1,"first_seen":"2023-07-09","github_poc":1,"max_poc_stars":4,"metasploit":0,"nuclei":1,"refs":[{"date":"2023-07-09T20:01:11Z","kind":"github_poc","ref":"https://github.com/AXRoux/Ghost-Path-Traversal-CVE-2023-32235-","stars":4,"title":"A Directory Traversal attack (also known as path traversal) aims to access files and directories that are stored outside the intended folder."},{"date":"2025-08-11","kind":"exploitdb","ref":"52408","stars":null,"title":"Ghost CMS 5.42.1 - Path Traversal"},{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-32235.yaml","stars":null,"title":"Ghost CMS \u003c 5.42.1 - Path Traversal"}],"tier":"weaponised"},"has_fix":true,"headline":"Path Traversal in Ghost","id":"CVE-2023-32235","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"WordPress Booking Ultra Pro Plugin \u003c= 1.1.8 is vulnerable to Cross Site Scripting (XSS)","id":"CVE-2023-32236"},"packages":[{"ecosystem":"Bitnami","fixed":["5.42.1"],"introduced":["0"],"last_affected":[],"package":"ghost","purl":"pkg:bitnami/ghost","source":"BIT-ghost-2023-32235"},{"ecosystem":"npm","fixed":["5.42.1"],"introduced":["0"],"last_affected":[],"package":"ghost","purl":null,"source":"GHSA-wf7x-fh6w-34r6"},{"ecosystem":"npm","fixed":["5.42.1"],"introduced":["0"],"last_affected":[],"package":"ghost","purl":"pkg:npm/ghost","source":"GHSA-wf7x-fh6w-34r6"}],"prev":{"headline":"Use after free in n/a","id":"CVE-2023-32233"},"products":["n/a"],"published":"2023-05-05","related":[{"cvss_score":9.8,"headline":"Arbitrary file upload in Ghost","id":"CVE-2022-27139","kev_date_added":null,"published":"2022-04-12"},{"cvss_score":9.8,"headline":"Arbitrary file upload in Ghost","id":"CVE-2022-28397","kev_date_added":null,"published":"2022-04-12"},{"cvss_score":9.6,"headline":"ghost vulnerable to unauthorized newsletter modification via improper access controls","id":"CVE-2022-41654","kev_date_added":null,"published":"2022-12-23"},{"cvss_score":9.4,"headline":"Ghost has a SQL Injection in its Content API","id":"CVE-2026-26980","kev_date_added":null,"published":"2026-02-20"},{"cvss_score":9.1,"headline":"Security feature bypass in n/a","id":"CVE-2024-34451","kev_date_added":null,"published":"2024-06-16"},{"cvss_score":9,"headline":"Ghost has possible Cross-site Scripting issue","id":"CVE-2024-23724","kev_date_added":null,"published":"2024-02-11"},{"cvss_score":9,"headline":"Cross-site scripting in Ghost","id":"CVE-2022-47194","kev_date_added":null,"published":"2023-01-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-29","vendors":["n/a"]},"summary":"Remote attackers can read arbitrary files in the active theme folder via directory traversal in Ghost CMS.","url":"https://insights.sbomify.com/CVE-2023-32235/"}