Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Dependabot Alert: Astro's X-Forwarded-Host is reflected without validation #583

@JennaySDavis

Description

@JennaySDavis

Summary
When running Astro in on-demand rendering mode using a adapter such as the node adapter it is possible to maliciously send an X-Forwarded-Host header that is reflected when using the recommended Astro.url property as there is no validation that the value is safe.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions