{"answers":{"affected":"2 open source packages ship an affected version, including @apostrophecms/ai-helper.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-113671 exists.","fix":"Upgrade @apostrophecms/ai-helper to 1.0.0-beta.13 or later.","what":"CVE-2026-113671 is a medium-severity vulnerability in @apostrophecms ai-helper, published on 20 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-113671 and fix it if it is affected.\n\nWhat it is: CVE-2026-113671 is a medium-severity vulnerability in @apostrophecms ai-helper, published on 20 Oct 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-113671 exists.\n\nAffected packages and fixed versions:\n- @apostrophecms/ai-helper (npm): affected from 1.0.0-beta.10; fixed in 1.0.0-beta.13\n- @apostrophecms/ai-helper (npm): affected from 1.0.0-beta.10; fixed in 1.0.0-beta.13\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-113671/ (Markdown: https://insights.sbomify.com/CVE-2026-113671/index.md)","id":"CVE-2026-113671","markdown":"https://insights.sbomify.com/CVE-2026-113671/index.md","name":"CVE-2026-113671","record":{"aliases":["GHSA-527g-ff96-x6wj"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"ApostropheCMS is an open-source Node.js content management system. From 1.0.0-beta.10 until 1.0.0-beta.13 of the AI helper, an editor with image-generation capability can create a base64-generated image record without a stored provider URL and invoke image acceptance on a deployment using local relative storage with no trusted global base URL. The server resolves the fixed uploads path against a request-controlled Host-derived origin, enabling bounded server-side requests to an attacker-selected host, port, and HTTP origin, but not arbitrary-path retrieval or the stored-provider and absolute-storage configurations. This issue is fixed in AI helper 1.0.0-beta.13.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"ApostropheCMS: Host header controls server-side image fetch origin in @apostrophecms/ai-helper, enabling authenticated SSRF","id":"CVE-2026-113671","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":4,"next":{"headline":"Argo CD: A Jsonnet import can read files from the repo-server","id":"CVE-2026-113672"},"packages":[{"ecosystem":"npm","fixed":["1.0.0-beta.13"],"introduced":["1.0.0-beta.10"],"last_affected":[],"package":"@apostrophecms/ai-helper","purl":null,"source":"GHSA-527g-ff96-x6wj"},{"ecosystem":"npm","fixed":["1.0.0-beta.13"],"introduced":["1.0.0-beta.10"],"last_affected":[],"package":"@apostrophecms/ai-helper","purl":"pkg:npm/%40apostrophecms/ai-helper","source":"GHSA-527g-ff96-x6wj"}],"prev":{"headline":"This CVE is a duplicate of another CVE.","id":"CVE-2026-113670"},"products":["ai-helper","apostrophe"],"published":"2026-10-20","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":"partial"},"state":"PUBLISHED","updated":"2026-10-20","vendors":["@apostrophecms","apostrophecms"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-113671/"}