Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnumerate valid attachment cuid/slug from public site content
-
DeliveryCraft GET request substituting internal-host value in Host header
-
ExploitSubmit to public pretty-URL file endpoint
-
ExecutionApostropheCMS constructs and fetches internal URL via Node.js fetch()
-
PersistReceive HTTP response oracle (status codes, headers, body)
-
ImpactMap 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
More in Apostrophecms
View allIntegrity bypass in ApostropheCMS page management allows authenticated low-privileged editors to move pages into restric
Stored cross-site scripting in ApostropheCMS prior to 2.17.6 enables execution of arbitrary JavaScript in victim browser
'sanitize-html' prior to version 1.0.3 is vulnerable to Cross-site Scripting (XSS). Rated medium severity (CVSS 6.1), th
`sanitize-html` prior to version 2.0.0-beta is vulnerable to Cross-site Scripting (XSS). Rated medium severity (CVSS 6.1
Apostrophe CMS versions prior to 3.3.1 did not invalidate existing login sessions when disabling a user account or chang
Stored XSS in sanitize-html versions 1.9.0 through 2.17.6 allows authenticated low-privileged users to inject executable
Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and
Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHos
Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which co
Prototype pollution in ApostropheCMS versions up to and including 4.30.0 allows an authenticated editor to poison Object
Stored cross-site scripting in the @apostrophecms/seo plugin (versions ≤1.4.2) allows any user holding the default edito
Stored cross-site scripting in ApostropheCMS SEO fields permits an authenticated attacker to inject arbitrary JavaScript
EUVD-2026-36576
GHSA-34pj-2622-jvxq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB