{"answers":{"affected":"2 open source packages ship an affected version, including apostrophe.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45013 exists.","fix":"No fix has been published for CVE-2026-45013 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-45013 is a high-severity vulnerability in apostrophecms apostrophe, published on 12 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-45013 and fix it if it is affected.\n\nWhat it is: CVE-2026-45013 is a high-severity vulnerability in apostrophecms apostrophe, published on 12 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: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-45013 exists.\n\nAffected packages and fixed versions:\n- apostrophe (npm): affected all versions up to 4.29.0; no fix listed\n- apostrophe (npm): affected all versions up to 4.29.0; no fix listed\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-45013/ (Markdown: https://insights.sbomify.com/CVE-2026-45013/index.md)","id":"CVE-2026-45013","markdown":"https://insights.sbomify.com/CVE-2026-45013/index.md","name":"CVE-2026-45013","record":{"aliases":["GHSA-gf43-24g3-5hw2"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Node.js CMS","requires_auth":"none","summary":"An attacker can hijack password reset links by manipulating the Host header, leading to account takeover if the victim clicks the malicious link.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-640","name":"Weak Password Recovery Mechanism for Forgotten Password"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"ApostropheCMS is an open-source Node.js content management system. Versions up to and including 4.29.0 have a password reset flow that constructs the reset URL using `req.hostname`, which is derived directly from the attacker-controlled HTTP `Host` header when `apos.baseUrl` is not explicitly configured. An unauthenticated attacker who knows a victim's email address can send a crafted reset request that causes the application to email the victim a reset link pointing to the attacker's domain. When the victim clicks the link, the valid reset token is delivered to the attacker, enabling full account takeover. As of time of publication, no known patched versions are available.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Apostrophe has a Weak Password Recovery Mechanism for Forgotten Password and Improper Input Validation","id":"CVE-2026-45013","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"open_redirect","year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"Apostrophe Vulnerable to Stored Cross-Site Scripting via Unsanitized User Display Name in Draft Version Tooltip","id":"CVE-2026-45014"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["4.29.0"],"package":"apostrophe","purl":null,"source":"GHSA-gf43-24g3-5hw2"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["4.29.0"],"package":"apostrophe","purl":"pkg:npm/apostrophe","source":"GHSA-gf43-24g3-5hw2"}],"prev":{"headline":"Apostrophe has authenticated SSRF in rich-text widget import via @apostrophecms/area/validate-widget","id":"CVE-2026-45012"},"products":["apostrophe"],"published":"2026-06-12","related":[],"sources":[{"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-13","vendors":["apostrophecms"]},"summary":"An attacker can hijack password reset links by manipulating the Host header, leading to account takeover if the victim clicks the malicious link.","url":"https://insights.sbomify.com/CVE-2026-45013/"}