Skip to main content

ApostropheCMS EUVDEUVD-2026-36576

| CVE-2026-53607 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-06-12 GitHub_M GHSA-34pj-2622-jvxq
3.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Enumerate valid attachment cuid/slug from public site content
  2. Delivery
    Craft GET request substituting internal-host value in Host header
  3. Exploit
    Submit to public pretty-URL file endpoint
  4. Execution
    ApostropheCMS constructs and fetches internal URL via Node.js fetch()
  5. Persist
    Receive HTTP response oracle (status codes, headers, body)
  6. Impact
    Map reachable internal services and network topology

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the prettyUrls: true option to be explicitly enabled on the @apostrophecms/file module - this is a non-default, administrator-configured SEO feature that must be deliberately activated, which is captured by AC:H in the CVSS vector. The public pretty-URL file-serving endpoint must be network-reachable by the attacker. No authentication is required; the endpoint is intentionally public (PR:N per CVSS vector). The attacker must supply a valid attachment path tuple (cuid, slug, and file extension) derivable from the site's own public content, which provides a slight practical barrier to fully automated scanning. Exploitation is further limited to blind SSRF: the attacker can observe HTTP response codes, headers, timing differentials, and any verbose error bodies from internal services, but cannot exfiltrate the content of arbitrary internal files because the request path is constrained to the /uploads/attachments/ prefix by the local database lookup. Deployments where prettyUrls is not enabled, where the ApostropheCMS process has no outbound network reachability to internal services, or where a reverse proxy enforces a canonical Host header value are not exploitable.

Impact

The official CVSS 3.1 score of 3.7 (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N) accurately reflects the non-default trigger condition via AC:H and the constrained blind-SSRF impact via C:L. This CVE is not listed in the CISA KEV catalog, EPSS data was not provided in the available intelligence, and no public exploit code has been identified - all signals indicate no confirmed active exploitation at this time. Despite the low raw score, operational risk is highly deployment-dependent: environments where ApostropheCMS can reach cloud provider IMDSv1 endpoints (e.g., 169.254.169.254), internal Kubernetes API servers, or other unauthenticated internal services face meaningfully elevated risk of credential theft or topology disclosure beyond what the score conveys. The NVD vector uses S:U (unchanged scope), which modestly understates the SSRF character - the vulnerable component is weaponized as a proxy against entirely separate systems - but the overall score range is defensible given the path constraint limiting direct exfiltration. The most operationally critical finding is the confirmed absence of any patch version: defenders cannot remediate through a simple upgrade at this time.

Exploit ScenarioDerived

An attacker identifies a publicly accessible ApostropheCMS instance with prettyUrls enabled and enumerates a valid attachment cuid and slug from the site's public content. The attacker sends a GET request to the corresponding pretty-URL path (e.g., /uploads/attachments/<cuid>-<slug>.jpg) with the Host header replaced by an internal target such as 169.254.169.254 (cloud IMDS) or internal-api:8080. The ApostropheCMS server constructs and fetches http://169.254.169.254/uploads/attachments/<cuid>-<slug>.jpg, streaming the HTTP response - including status code, headers, and any metadata service body - back to the attacker, revealing internal service availability, network topology, or cloud credentials.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 12, 2026

Server-Side Request Forgery in ApostropheCMS through version 4.30.0 allows unauthenticated remote attackers to pivot the Node.js application process into issuing outbound HTTP requests to arbitrary hosts on the internal network when the prettyUrls SEO feature is explicitly enabled on the @apostrophecms/file module. The attack exploits the raw Host HTTP request header, which the pretty-URL handler uses verbatim to construct and fetch() an upstream URL, streaming the full HTTP response - status code, headers, and body - back to the requester. Practical impact is constrained to blind SSRF (network-topology probing via response-code and timing oracles, and verbose proxy or WAF error-body disclosure) rather than arbitrary data exfiltration; no patch exists at time of publication and no public exploit has been identified.

RemediationAI

No vendor-released patch has been identified at time of analysis; GitHub Security Advisory GHSA-34pj-2622-jvxq (https://github.com/apostrophecms/apostrophe/security/advisories/GHSA-34pj-2622-jvxq) should be monitored closely for a fix release. The most effective immediate compensating control is to disable the prettyUrls feature by setting prettyUrls: false or removing the option from the @apostrophecms/file module configuration - this eliminates the vulnerable handler entirely at the cost of losing SEO-friendly file URLs. If disabling prettyUrls is not operationally acceptable, a reverse proxy (e.g., nginx or a CDN edge layer) positioned in front of ApostropheCMS should be configured to enforce a static, canonical Host header value before requests reach the application, preventing attacker-supplied values from propagating to the SSRF-triggering code; this mitigation requires careful, ongoing proxy configuration maintenance to remain effective. Additionally, host-level or firewall egress filtering on the ApostropheCMS server should restrict outbound HTTP/HTTPS to only known-good upstream hosts, directly limiting the SSRF blast radius by blocking access to cloud metadata endpoints (169.254.169.254, fd00:ec2::254), internal Kubernetes APIs, and other unauthenticated internal services.

Affected VersionsENISA

Apostrophe ≤ 4.30.0

Affected Packages

npm apostrophe fix: 4.31.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the public pretty-URL file handler in the @apostrophecms/file module of ApostropheCMS (CPE: cpe:2.3:a:apostrophecms:apostrophe:*). When prettyUrls: true is set in the module configuration, this handler accepts public HTTP requests for uploaded file attachments at clean, SEO-friendly URLs. It performs a local database lookup to construct a path constrained to /uploads/attachments/<cuid>-<slug>.<ext>, then builds the full upstream URL by prepending the raw value of the Host HTTP request header - a classic Host Header Injection leading to CWE-918 (Server-Side Request Forgery). The resulting URL is passed directly to Node.js fetch(), and the complete HTTP response is streamed back to the client with no sanitization. Because Host is fully attacker-controlled and no validation is applied, the server can be directed to connect to any TCP-accessible host on the application server's network. The cuid uniqueness in the path prevents cross-instance attachment exfiltration, but response-code differentials, timing side-channels, and any verbose error bodies returned by internal proxies, WAFs, or cloud metadata services remain accessible to the attacker.

Know when Apostrophecms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 3.7 LOW
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 4.0 MEDIUM

Non-default prettyUrls config justifies AC:H; SSRF probing of other systems justifies S:C; blind response oracle yields C:L with no integrity or availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

DescriptionCVE.org

ApostropheCMS is an open-source Node.js content management system. In versions up to and including 4.30.0, when prettyUrls: true is enabled on @apostrophecms/file (a documented SEO feature for serving uploaded files at clean URLs), the public pretty-URL handler builds the upstream URL using the raw Host HTTP request header. That URL is then fetch'ed and the response body + headers are streamed straight back to the requester. Because Host is fully attacker-controlled, an unauthenticated remote attacker can pivot the apostrophe process to issue outbound HTTP requests against any host it can reach on the private network. The path component is constrained to /uploads/attachments/<cuid>-<slug>.<ext> (built from a local-DB lookup), which keeps the impact narrow: cross-instance data exfiltration is neutralized by cuid uniqueness, but blind-SSRF residuals remain (network-topology mapping via response-code / timing differences and verbose proxy/WAF 404 body disclosure). As of time of publication, no known patched versions exist.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Threat Intel
1
1 sources
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

18
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +18
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

CVE-2026-63669 MEDIUM POC
6.5 Aug 17

Integrity bypass in ApostropheCMS page management allows authenticated low-privileged editors to move pages into restric

CVE-2026-63670 MEDIUM POC
6.1 Aug 17

Stored cross-site scripting in ApostropheCMS prior to 2.17.6 enables execution of arbitrary JavaScript in victim browser

CVE-2014-125128 MEDIUM POC
6.1 Sep 08

'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). Rated medium severity (CVSS 6.1), th

CVE-2019-25225 MEDIUM POC
6.1 Sep 08

`sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). Rated medium severity (CVSS 6.1

CVE-2021-25979 CRITICAL
9.8 Nov 08

Apostrophe CMS versions prior to 3.3.1 did not invalidate existing login sessions when disabling a user account or chang

CVE-2026-84371 MEDIUM POC
5.4 Sep 01

Stored XSS in sanitize-html versions 1.9.0 through 2.17.6 allows authenticated low-privileged users to inject executable

CVE-2024-21501 MEDIUM POC
5.3 Feb 24

Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and

CVE-2021-26540 MEDIUM POC
5.3 Feb 08

Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHos

CVE-2021-26539 MEDIUM POC
5.3 Feb 08

Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which co

CVE-2026-53609 CRITICAL
9.1 Jun 12

Prototype pollution in ApostropheCMS versions up to and including 4.30.0 allows an authenticated editor to poison Object

CVE-2026-53608 HIGH
8.7 Jun 12

Stored cross-site scripting in the @apostrophecms/seo plugin (versions ≤1.4.2) allows any user holding the default edito

CVE-2026-35569 HIGH
8.7 Apr 15

Stored cross-site scripting in ApostropheCMS SEO fields permits an authenticated attacker to inject arbitrary JavaScript

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy