Alan Agius
629905d537
fix(platform-server): add allowedHosts option to renderModule and renderApplication
...
In server-side rendering (SSR) setups, passing request URLs directly to the lower-level rendering APIs `renderModule` or `renderApplication` can expose applications to Server-Side Request Forgery (SSRF) or Host Header Injection attacks via absolute-form request URLs.
To mitigate these vulnerabilities at the framework layer, this commit introduces the `allowedHosts` option to `PlatformConfig` (supporting exact hostnames, wildcards like `*.example.com`, or `*` to allow all).
During platform initialization inside `createServerPlatform`, the hostname of the request `url` is validated against the `allowedHosts` list. If the hostname is not authorized, bootstrap immediately throws a host validation error, preventing unauthorized rendering and silent SSRF bypasses.
Closes #68436
(cherry picked from commit 60552a73e8 )
2026-05-07 15:30:07 -07:00
Angular Robot
4900e453e1
build: update cross-repo angular dependencies
...
See associated pull request for more information.
2026-04-29 13:29:44 -07:00
Angular Robot
85f1c0a268
build: lock file maintenance
...
See associated pull request for more information.
2026-04-28 11:59:30 -07:00
Angular Robot
8ce8b9342a
build: update pnpm to v10.33.2
...
See associated pull request for more information.
2026-04-24 10:11:20 -07:00
Angular Robot
750af5b123
build: update cross-repo angular dependencies to v21.2.8
...
See associated pull request for more information.
2026-04-22 11:03:02 -07:00
Angular Robot
4dc7bf5a75
build: lock file maintenance
...
See associated pull request for more information.
2026-04-21 10:23:48 -07:00
Angular Robot
bb8cdd9566
build: lock file maintenance
...
See associated pull request for more information.
2026-04-14 12:20:59 +03:00
Angular Robot
05d9b97cf9
build: update cross-repo angular dependencies
...
See associated pull request for more information.
2026-04-09 14:17:44 +03:00
Angular Robot
e8265f4593
build: lock file maintenance
...
See associated pull request for more information.
2026-04-07 09:49:43 -07:00
Angular Robot
4ad6d582d2
build: update cross-repo angular dependencies to v21.2.6
...
See associated pull request for more information.
2026-04-01 18:25:52 +02:00
Angular Robot
5fd4f0f854
build: lock file maintenance
...
See associated pull request for more information.
2026-03-31 13:42:53 +02:00
Angular Robot
cf7846bd62
build: update pnpm to v10.33.0
...
See associated pull request for more information.
2026-03-30 12:47:07 +02:00
Angular Robot
4b2008d0f2
build: update cross-repo angular dependencies
...
See associated pull request for more information.
2026-03-27 14:00:33 +01:00
Angular Robot
3b3ab8b626
build: lock file maintenance
...
See associated pull request for more information.
2026-03-24 15:08:55 -07:00
Angular Robot
1ba89d1128
build: lock file maintenance
...
See associated pull request for more information.
2026-03-20 15:14:25 -07:00
Angular Robot
3838554503
build: update cross-repo angular dependencies to v21.2.3
...
See associated pull request for more information.
2026-03-19 15:04:08 -07:00
Angular Robot
f39896da99
build: update cross-repo angular dependencies
...
See associated pull request for more information.
2026-03-13 16:25:45 -06:00
Angular Robot
2d28e9b392
build: update pnpm to v10.32.1
...
See associated pull request for more information.
2026-03-13 13:08:54 -06:00
Angular Robot
ff697707ba
build: update pnpm to v10.32.0
...
See associated pull request for more information.
2026-03-11 09:28:49 -07:00
Angular Robot
934e2732b3
build: lock file maintenance
...
See associated pull request for more information.
2026-03-10 09:59:30 -07:00
Angular Robot
024e307ab0
build: update pnpm to v10.31.0
...
See associated pull request for more information.
2026-03-09 17:00:10 -07:00
Angular Robot
8f6ca1d9f9
build: lock file maintenance
...
See associated pull request for more information.
2026-03-03 09:08:50 -08:00
Angular Robot
fc5f9d03cf
build: update pnpm to v10.30.3
...
See associated pull request for more information.
2026-03-02 08:37:49 -08:00
Angular Robot
c960a6e492
build: update cross-repo angular dependencies to v21.2.0
...
See associated pull request for more information.
2026-02-25 15:11:49 -08:00
Angular Robot
d3ab1ea5f2
build: lock file maintenance
...
See associated pull request for more information.
2026-02-25 08:52:48 -08:00
Angular Robot
a25f74238e
build: update jasmine dependencies to v6.1.0
...
See associated pull request for more information.
2026-02-25 07:57:47 -08:00
Angular Robot
61ad0f8b90
build: update pnpm to v10.30.2
...
See associated pull request for more information.
2026-02-25 07:54:45 -08:00
Angular Robot
b17a7e062f
build: update cross-repo angular dependencies
...
See associated pull request for more information.
2026-02-24 09:21:23 -08:00
Angular Robot
c9ecf9e40b
build: update cross-repo angular dependencies to v21.2.0-rc.1
...
See associated pull request for more information.
2026-02-23 13:17:58 -08:00
Angular Robot
31bf694599
build: update pnpm to v10.30.1
...
See associated pull request for more information.
2026-02-23 09:12:54 -08:00