---
id: CVE-2026-113671
title: >-
  ApostropheCMS: Host header controls server-side image fetch origin in
  @apostrophecms/ai-helper, enabling authenticated SSRF
summary: >-
  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 U…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-918
vendor: apostrophecms
product: apostrophe
affected:
  - 'apostrophe >= 4.25.0, < 4.33.0'
  - 'ai-helper >= 1.0.0-beta.10, < 1.0.0-beta.13'
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-20T18:20:48.654708Z'
exploitAvailable: true
published: '2026-10-20'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T18:21:05.814Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-113671'
references:
  - url: >-
      https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-527g-ff96-x6wj
    label: >-
      https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-527g-ff96-x6wj
  - url: >-
      https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce
    label: >-
      https://github.com/apostrophecms/apostrophe/commit/9500b8b0e1d630d5e07fbb5fd2c25ed0943845ce
  - url: >-
      https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350
    label: >-
      https://github.com/apostrophecms/apostrophe/commit/f84fd41cbf6c22eb8d0008fc9c25df1f7130b350
  - url: >-
      https://github.com/apostrophecms/apostrophe/releases/tag/@apostrophecms/ai-helper@1.0.0-beta.13
    label: >-
      https://github.com/apostrophecms/apostrophe/releases/tag/@apostrophecms/ai-helper@1.0.0-beta.13
  - url: 'https://github.com/advisories/GHSA-527g-ff96-x6wj'
tags:
  - cve.org
  - exploit-available
  - ghsa
  - npm
aliases:
  - GHSA-527g-ff96-x6wj
ecosystem: npm
patched:
  - '@apostrophecms/ai-helper 1.0.0-beta.13'
ingestedAt: '2026-10-20T18:14:37.211Z'
---

## Overview

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.

## Affected

- `apostrophe >= 4.25.0, < 4.33.0`
- `ai-helper >= 1.0.0-beta.10, < 1.0.0-beta.13`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-113671)

Affected packages:

- `@apostrophecms/ai-helper >= 1.0.0-beta.10, < 1.0.0-beta.13`

Patched in:

- `@apostrophecms/ai-helper 1.0.0-beta.13`

Source: https://github.com/advisories/GHSA-527g-ff96-x6wj
