{"answers":{"affected":"3 open source packages ship an affected version, including ghost.","exploited":"There is no known exploitation of CVE-2026-53943 in the wild and no public exploit code.","fix":"Upgrade ghost to 6.37.0 or later.","what":"CVE-2026-53943 is a critical cross-site scripting vulnerability in TryGhost Ghost, published on 24 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-53943 and fix it if it is affected.\n\nWhat it is: CVE-2026-53943 is a critical cross-site scripting vulnerability in TryGhost Ghost, published on 24 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-53943 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ghost (Bitnami): affected from 4.0.0; fixed in 6.37.0\n- ghost (npm): affected from 4.0.0; fixed in 6.37.0\n- ghost (npm): affected from 4.0.0; fixed in 6.37.0\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-2026-53943/ (Markdown: https://insights.sbomify.com/CVE-2026-53943/index.md)","id":"CVE-2026-53943","markdown":"https://insights.sbomify.com/CVE-2026-53943/index.md","name":"CVE-2026-53943","record":{"aliases":["BIT-ghost-2026-53943","GHSA-62q6-4hv4-vjrw"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Ghost CMS","requires_auth":"none","summary":"Unauthenticated attackers can poison shared caches via the x-ghost-preview header to inject XSS, potentially taking over staff accounts if frontend and admin share a domain.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.6,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-524","name":"Use of Cache Containing Sensitive Information"}],"description":"Ghost is a Node.js content management system. From  until 6.37.0, when Ghost is behind a shared caching layer that results in cached content being shared between different visitors, an unauthenticated user could send an x-ghost-preview header that altered the rendered frontend response. In affected cache configurations, that response could be stored and served to subsequent visitors requesting the same page, allowing cache poisoning of request-specific preview output. When running Ghost's frontend and admin panel on the same domain this could be used to take over staff user accounts. When running these on different domains staff accounts have no exposure. This vulnerability is fixed in 6.37.0.","ecosystems":["Bitnami","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Ghost: Cache-poisoning XSS in Ghost frontend via x-ghost-preview header","id":"CVE-2026-53943","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"Ghost: Private IP filtering bypass to make server-side requests to internal services","id":"CVE-2026-53944"},"packages":[{"ecosystem":"Bitnami","fixed":["6.37.0"],"introduced":["4.0.0"],"last_affected":[],"package":"ghost","purl":"pkg:bitnami/ghost","source":"BIT-ghost-2026-53943"},{"ecosystem":"npm","fixed":["6.37.0"],"introduced":["4.0.0"],"last_affected":[],"package":"ghost","purl":null,"source":"GHSA-62q6-4hv4-vjrw"},{"ecosystem":"npm","fixed":["6.37.0"],"introduced":["4.0.0"],"last_affected":[],"package":"ghost","purl":"pkg:npm/ghost","source":"GHSA-62q6-4hv4-vjrw"}],"prev":{"headline":"Conda Organization Infrastructure is a centralized location for infrastructure codes.","id":"CVE-2026-53942"},"products":["Ghost"],"published":"2026-06-24","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-24","vendors":["TryGhost"]},"summary":"Unauthenticated attackers can poison shared caches via the x-ghost-preview header to inject XSS, potentially taking over staff accounts if frontend and admin share a domain.","url":"https://insights.sbomify.com/CVE-2026-53943/"}