Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 11, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
astro (source) 5.14.1 -> 5.14.3 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

CVE-2025-61925

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.

Details

Astro reflects the value in X-Forwarded-Host in output when using Astro.url without any validation.

It is common for web servers such as nginx to route requests via the Host header, and forward on other request headers. As such as malicious request can be sent with both a Host header and an X-Forwarded-Host header where the values do not match and the X-Forwarded-Host header is malicious. Astro will then return the malicious value.

This could result in any usages of the Astro.url value in code being manipulated by a request. For example if a user follows guidance and uses Astro.url for a canonical link the canonical link can be manipulated to another site. It is not impossible to imagine that the value could also be used as a login/registration or other form URL as well, resulting in potential redirecting of login credentials to a malicious party.

As this is a per-request attack vector the surface area would only be to the malicious user until one considers that having a caching proxy is a common setup, in which case any page which is cached could persist the malicious value for subsequent users.

Many other frameworks have an allowlist of domains to validate against, or do not have a case where the headers are reflected to avoid such issues.

PoC

  • Check out the minimal Astro example found here: https://github.com/Chisnet/minimal_dynamic_astro_server
  • nvm use
  • yarn run build
  • node ./dist/server/entry.mjs
  • curl --location 'http://localhost:4321/' --header 'X-Forwarded-Host: www.evil.com' --header 'Host: www.example.com'
  • Observe that the response reflects the malicious X-Forwarded-Host header

For the more advanced / dangerous attack vector deploy the application behind a caching proxy, e.g. Cloudflare, set a non-zero cache time, perform the above curl request a few times to establish a cache, then perform the request without the malicious headers and observe that the malicious data is persisted.

Impact

This could affect anyone using Astro in an on-demand/dynamic rendering mode behind a caching proxy.


Release Notes

withastro/astro (astro)

v5.14.3

Compare Source

Patch Changes
  • #​14505 28b2a1d Thanks @​matthewp! - Fixes Cannot set property manifest error in test utilities by adding a protected setter for the manifest property

  • #​14235 c4d84bb Thanks @​toxeeec! - Fixes a bug where the "tap" prefetch strategy worked only on the first clicked link with view transitions enabled


Configuration

📅 Schedule: Branch creation - "" in timezone GMT, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 11, 2025
@renovate renovate bot enabled auto-merge (squash) October 11, 2025 13:54
Copy link

vercel bot commented Oct 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
clerk-js-sandbox Ready Ready Preview Comment Oct 13, 2025 4:18pm

Copy link

changeset-bot bot commented Oct 11, 2025

⚠️ No Changeset found

Latest commit: 48fceee

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

coderabbitai bot commented Oct 11, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

pkg-pr-new bot commented Oct 11, 2025

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@6966

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@6966

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@6966

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@6966

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@6966

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@6966

@clerk/elements

npm i https://pkg.pr.new/@clerk/elements@6966

@clerk/clerk-expo

npm i https://pkg.pr.new/@clerk/clerk-expo@6966

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@6966

@clerk/express

npm i https://pkg.pr.new/@clerk/express@6966

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@6966

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@6966

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@6966

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@6966

@clerk/clerk-react

npm i https://pkg.pr.new/@clerk/clerk-react@6966

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@6966

@clerk/remix

npm i https://pkg.pr.new/@clerk/remix@6966

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@6966

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@6966

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@6966

@clerk/themes

npm i https://pkg.pr.new/@clerk/themes@6966

@clerk/types

npm i https://pkg.pr.new/@clerk/types@6966

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@6966

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@6966

commit: 48fceee

@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from 8628ad2 to 055e17d Compare October 13, 2025 06:56
@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from 055e17d to 85bbadd Compare October 13, 2025 07:07
@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from 85bbadd to 6913da6 Compare October 13, 2025 07:12
@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from 6913da6 to 3e8aac9 Compare October 13, 2025 07:16
@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from 3e8aac9 to ea8abf4 Compare October 13, 2025 07:24
@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from ea8abf4 to cae9d27 Compare October 13, 2025 07:40
@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from cae9d27 to d75d3f4 Compare October 13, 2025 10:29
@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from d75d3f4 to c316090 Compare October 13, 2025 11:54
@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from c316090 to 47c41a5 Compare October 13, 2025 11:59
@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from 47c41a5 to 22d62c3 Compare October 13, 2025 14:22
@renovate renovate bot force-pushed the renovate/npm-astro-vulnerability branch from 22d62c3 to f882f6d Compare October 13, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants