Skip to content

@ai-sdk/prodia@2.0.0-canary.51

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Jun 04:35
· 50 commits to main since this release
260caaf

Patch Changes

  • 6e8917f: fix(prodia): validate user-supplied image URLs before fetching (SSRF)

    The Prodia video model's resolveVideoFileData fetched a user-supplied image URL directly with fetch(), bypassing the SDK's SSRF guard. An attacker who could supply the image URL could make the server request internal endpoints (e.g. cloud metadata) and have the response uploaded to Prodia's API. The URL is now downloaded via downloadBlob, which routes through validateDownloadUrl and rejects private/internal addresses, matching the pattern used by other providers.

  • Updated dependencies [bae5e2b]

    • @ai-sdk/provider-utils@5.0.0-canary.47