Skip to content

docs: reword allowedHosts security warning#67824

Open
alan-agius4 wants to merge 1 commit intoangular:mainfrom
alan-agius4:allowed-host-star
Open

docs: reword allowedHosts security warning#67824
alan-agius4 wants to merge 1 commit intoangular:mainfrom
alan-agius4:allowed-host-star

Conversation

@alan-agius4
Copy link
Contributor

Update the allowedHosts security warning in the security guide to remove the mention of DNS rebinding, which is primarily relevant for the dev server, and refocus on host header injection and SSRF. Additionally, clarify that allowing all hosts with "*" is only appropriate when header validation is handled by an external layer.

@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release adev: preview labels Mar 24, 2026
@angular-robot angular-robot bot added the area: docs Related to the documentation label Mar 24, 2026
@ngbot ngbot bot added this to the Backlog milestone Mar 24, 2026
Update the allowedHosts security warning in the security guide to remove the mention of DNS rebinding, which is primarily relevant for the dev server, and refocus on host header injection and SSRF. Additionally, clarify that allowing all hosts with "*" is only appropriate when header validation is handled by an external layer.
@github-actions
Copy link

github-actions bot commented Mar 24, 2026

Deployed adev-preview for bde116b to: https://ng-dev-previews-fw--pr-angular-angular-67824-adev-prev-6b5rvnvf.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pullapprove pullapprove bot requested a review from josephperrott March 24, 2026 13:45
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Reviewed-for: fw-security

@pullapprove pullapprove bot requested a review from josephperrott March 24, 2026 13:45
@alan-agius4 alan-agius4 removed the request for review from josephperrott March 24, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer adev: preview area: docs Related to the documentation target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants