Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-13796 Overview
CVE-2025-13796 is a server-side request forgery (SSRF) vulnerability affecting deco-cx apps versions up to and including 0.120.1. The flaw resides in the AnalyticsScript function within website/loaders/analyticsScript.ts, part of the Parameter Handler component. Attackers can manipulate the url argument to coerce the server into issuing arbitrary outbound HTTP requests. The exploit has been publicly disclosed, and remote exploitation is possible with low privileges. Upgrading to version 0.120.2 remediates the issue. The vulnerability is tracked under CWE-918: Server-Side Request Forgery.
Critical Impact
Remote attackers with low privileges can abuse the url parameter in AnalyticsScript to make the server issue arbitrary requests, potentially reaching internal services or metadata endpoints.
Affected Products
- deco-cx apps versions up to 0.120.1
- Component: Parameter Handler (website/loaders/analyticsScript.ts)
- Fixed in deco-cx apps version 0.120.2
Discovery Timeline
- 2025-12-01 - CVE-2025-13796 published to the National Vulnerability Database
- 2026-09-03 - Last updated in NVD database
Technical Details for CVE-2025-13796
Vulnerability Analysis
The vulnerability exists in the AnalyticsScript loader of the deco-cx apps package. The loader accepts a url argument through its parameter handler and uses that value to initiate a server-side HTTP request without sufficient validation. Because the destination is attacker-controlled, the request can be redirected to arbitrary hosts, including internal network addresses, loopback interfaces, or cloud metadata services.
SSRF conditions in analytics loaders are particularly impactful in multi-tenant or cloud-hosted deployments. The server performs the outbound request with its own network identity, bypassing perimeter controls that would ordinarily block direct access from the public internet. Remediation shipped in 0.120.2 through pull request #1360.
Root Cause
The root cause is missing validation of the user-supplied url parameter before it is passed to the HTTP client inside AnalyticsScript. The function treats the argument as a trusted destination and does not enforce an allowlist of hostnames, block private address ranges, or restrict protocols. This maps directly to CWE-918.
Attack Vector
An authenticated attacker with low privileges submits a crafted request to a deco-cx endpoint that invokes the AnalyticsScript loader. The url parameter is set to an internal resource such as http://169.254.169.254/latest/meta-data/ or an internal service URL. The server dereferences the URL and may return the response, response metadata, or side-channel signals that disclose internal infrastructure. See the VulDB entry #333807 for additional detail.
Detection Methods for CVE-2025-13796
Indicators of Compromise
- Outbound HTTP requests originating from the deco-cx application server to private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or link-local addresses such as 169.254.169.254.
- Access log entries targeting analyticsScript loader paths with external or unusual url query parameter values.
- Repeated requests to the AnalyticsScript endpoint with URLs pointing to internal hostnames, loopback (127.0.0.1), or cloud metadata services.
Detection Strategies
- Inspect application logs for invocations of website/loaders/analyticsScript.ts where the url parameter does not match an expected analytics provider domain.
- Correlate egress firewall or proxy logs with application request IDs to identify server-initiated requests to attacker-specified destinations.
- Deploy web application firewall rules that flag SSRF payload patterns in parameters named url or similar.
Monitoring Recommendations
- Alert on outbound connections from the deco-cx service to non-allowlisted destinations, with priority on cloud metadata endpoints.
- Baseline normal analytics destinations and generate alerts when the loader contacts a new domain.
- Forward application and egress telemetry to a centralized data lake to retain forensic context for SSRF investigations.
How to Mitigate CVE-2025-13796
Immediate Actions Required
- Upgrade deco-cx apps to version 0.120.2 or later using the GitHub release.
- Audit application logs for prior invocations of the AnalyticsScript loader with suspicious url parameter values.
- Restrict egress traffic from the deco-cx application host to known analytics endpoints only.
Patch Information
The maintainers addressed the issue in deco-cx apps 0.120.2 via pull request #1360. The patch introduces validation of the url parameter in the AnalyticsScript loader. Upgrade using the project's standard dependency management workflow and redeploy affected services.
Workarounds
- Block the deco-cx application host from reaching private address ranges and the cloud instance metadata service at the network layer.
- Place a reverse proxy or WAF in front of the application that rejects requests to the analytics loader when the url parameter resolves to internal addresses.
- Remove or disable the AnalyticsScript loader entry point until the upgrade can be applied, if the feature is not required.
# Configuration example: upgrade deco-cx apps to the fixed version
deno add jsr:@deco/apps@0.120.2
# Example egress restriction via iptables to block internal targets from the app host
iptables -A OUTPUT -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -d 192.168.0.0/16 -j REJECT
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

