Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing Angular SSR endpoint
-
DeliverySend crafted path GET /\evil.com/
-
ExploitBackslash normalized, origin set to evil.com
-
ExecutionRelative HttpClient/PlatformLocation call redirected
-
PersistAttacker server receives internal/metadata request
-
ImpactExfiltrate internal API or metadata data
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 that the target run Angular SSR via one of the affected APIs - renderModule, renderApplication, or CommonEngine (@angular/ssr) - with the incoming request pathname (e.g. req.url) passed to the rendering method, the server having outbound network access, and the server-side code performing relative HttpClient requests or using PlatformLocation.hostname to construct URLs. The trigger itself is a single crafted request path containing a backslash or protocol-relative prefix (e.g. /\evil.com/), needing no authentication (PR:N) and no user interaction (UI:N). Limiting factors: applications built on the newer AngularAppEngine or AngularNodeAppEngine engines are NOT vulnerable; apps that never make relative outbound HttpClient calls or reference PlatformLocation.hostname have no exploitable sink; and impact is amplified only where the SSR host can reach sensitive internal or metadata endpoints. These are application-coding-dependent conditions, so despite the network-reachable CVSS vector, not all Angular SSR deployments are affected. |
| Impact | Signals are mixed and point to a real but conditional issue rather than a mass-exploitation emergency. The CVSS 4.0 base of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N, VC:H with subsequent-system SC:L/SI:L) reflects trivial network reachability, no authentication and no user interaction, with high confidentiality impact from reaching internal/metadata endpoints. However, EPSS is only 0.04% (12th percentile) and CISA SSVC records Exploitation: none with Technical Impact: partial, so no exploitation has been observed even though SSVC flags it Automatable: yes. Crucially, exploitability is gated by application coding patterns - the app must render via the affected APIs, pass req.url as the URL, and actually use relative HttpClient requests or PlatformLocation.hostname to build outbound URLs - so raw AC:L understates real-world preconditions; many Angular SSR apps will not meet all conditions. Net: prioritize patching for internet-facing Angular SSR deployments (especially in cloud environments where the 169.254.169.254 metadata service is reachable), but this is not a drop-everything, actively-exploited scenario. No public exploit is identified at time of analysis and it is not KEV-listed. |
| Exploit ScenarioDerived | An attacker sends a crafted request such as GET /\evil.com/ HTTP/1.1 to an internet-facing Angular SSR endpoint; the Node engine forwards the raw path as req.url into renderModule/renderApplication/CommonEngine, whose parser normalizes the backslash and sets the internal origin to evil.com. When the server-side render then issues a relative HttpClient request or builds a URL from PlatformLocation.hostname, that request is sent to the attacker's server, letting them capture data or pivot the request toward internal APIs or a cloud metadata service. No public proof-of-concept is identified at time of analysis, but the advisory describes the exact triggering request, making reproduction straightforward given the low complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Server-Side Request Forgery in Angular's @angular/platform-server (SSR) lets remote unauthenticated attackers hijack the application's perceived origin by sending a request path like GET /\evil.com/, causing the server's URL parser to normalize the backslash and treat evil.com as the local origin. Affected Angular versions prior to 19.2.21, 20.3.19, 21.2.9, and 22.0.0-next.8 that render via renderModule, renderApplication, or CommonEngine then redirect relative HttpClient calls and PlatformLocation.hostname-derived URLs to the attacker's domain, potentially exposing internal APIs or cloud metadata services. There is no public exploit identified at time of analysis, EPSS is very low (0.04%, 12th percentile) and it is not in CISA KEV, though a vendor patch and a documented middleware workaround are available.
RemediationAI
Upgrade @angular/platform-server (and @angular/ssr) to the fixed release for your major version: Vendor-released patch: 19.2.21, 20.3.19, 21.2.9, or 22.0.0-next.8 (fix in PR https://github.com/angular/angular/pull/68194, commit ede7c58a2aa13fdccc8f0b67ce93ba1c11749412; advisory https://github.com/angular/angular/security/advisories/GHSA-45q2-gjvg-7973). If you cannot upgrade immediately, apply the vendor-documented workaround: add Express (or equivalent) middleware ahead of the Angular renderer that normalizes the request URL to a single leading forward slash - reject or rewrite paths beginning with //, /\, or \, e.g. if (req.url.startsWith('//') || req.url.startsWith('/\\') || req.url.startsWith('\\')) req.url = '/' + req.url.replace(/^[/\\]+/, ''). Side effect: legitimate double-slash paths get collapsed, so verify no valid routes rely on them. As additional compensating controls where SSR runs in cloud infrastructure, restrict the SSR host's outbound egress and block access to the cloud metadata endpoint (169.254.169.254) so a hijacked origin cannot reach internal metadata even if triggered.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic CWE-918 (SSRF) rooted in URL parsing during Angular Server-Side Rendering. Angular's platform-server component (npm @angular/platform-server) builds a ServerPlatformLocation by feeding the incoming request URL (commonly req.url from Express or a similar Node engine) into a parseUrl helper that used new URL(urlStr, origin). Per the WHATWG URL specification, backslashes are normalized to forward slashes for the special http/https schemes, so an input such as /\evil.com/ resolves to the absolute URL //evil.com/ (a protocol-relative host) rather than a path on the local origin. This corrupts the internal PlatformLocation state (hostname/protocol/href), so any code building request targets from the current origin - relative HttpClient requests or PlatformLocation.hostname references - is silently pointed at the attacker's host. The upstream fix (PR #68194, commit ede7c58) rewrites parseUrl to only concatenate origin+urlStr when the input is empty or already begins with a single forward slash, otherwise treating the string as an explicit absolute URL, closing the protocol-relative/backslash bypass. Notably the newer @angular/ssr engines AngularAppEngine and AngularNodeAppEngine are not affected - only the renderModule, renderApplication, and CommonEngine paths.
Know when Angular 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N
Remote unauthenticated single-request trigger (AV:N/PR:N/UI:N); SSRF crosses into other systems so S:C with high confidentiality exposure of internal/metadata data (C:H) and minor integrity effect (I:L); AC:L reflects trivial trigger though app-coding preconditions apply.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to versions 19.2.21, 20.3.19, 21.2.9, and 22.0.0-next.8, a Server-Side Request Forgery (SSRF) vulnerability exists in @angular/platform-server due to improper handling of URLs during Server-Side Rendering (SSR). When an attacker sends a request such as GET /\evil.com/ HTTP/1.1 the server engine (Express, etc.) passes the URL string to Angular’s rendering functions. Because the URL parser normalizes the backslash to a forward slash for HTTP/HTTPS schemes, the internal state of the application is hijacked to believe the current origin is evil.com. This misinterpretation tricks the application into treating the attacker’s domain as the local origin. Consequently, any relative HttpClient requests or PlatformLocation.hostname references are redirected to the attacker controlled server, potentially exposing internal APIs or metadata services. This issue has been patched in versions 19.2.21, 20.3.19, 21.2.9, and 22.0.0-next.8.
Executive ViewAI
Angular applications using server-side rendering are vulnerable to attackers hijacking internal requests to external domains, risking exposure of backend API credentials and cloud metadata. This could enable unauthorized access to internal systems or cloud resources, potentially leading to data theft or service compromise.
Apply vendor patch. Documented middleware workaround available if patching cannot be completed within 7 days.
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.
Cross-site scripting via Angular's server-side rendering package (@angular/platform-server) allows arbitrary JavaScript
Cross-site scripting in Angular's server-side rendering engine (`@angular/platform-server`) allows arbitrary JavaScript
Server-Side Rendering in Angular's @angular/platform-server leaks server-side credentials to attacker-controlled origins
Stored XSS in the Angular Template Compiler (npm package @angular/compiler) allows an authenticated attacker who can per
Cross-site scripting in Angular's Template Compiler allows attackers to inject arbitrary JavaScript through unsanitized
An unauthenticated remote attacker can lock up an Angular server-side rendering process by submitting HTML that contains
Server-side request forgery in Angular's @angular/ssr package (all versions from 19.0.0-next.0 before 19.2.18, 20.0.0-ne
Command injection via untrusted Markdown rendering in the Angular Language Service VS Code extension (versions prior to
Arbitrary code execution in the Angular Language Service VS Code extension prior to 21.2.4 allows attackers to silently
Heap exhaustion and CPU starvation in @angular/router under Angular Server-Side Rendering on Node.js allow unauthenticat
Denial of service in the npm package @angular/router when Server-Side Rendering (SSR) is enabled on Node.js allows an un
Denial of service in @angular/router lets unauthenticated remote attackers crash Node.js server-side rendering workers b
EUVD-2026-28552
GHSA-45q2-gjvg-7973
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB