OSV 1.4.0 · github-reviewed · 修改于 2026-07-03 03:08
发布时间
2026-07-03 03:08
GitHub 审查时间
2026-07-03 03:08
NVD 发布时间
—
源文件
advisories/github-reviewed/2026/07/GHSA-j5qp-p44g-2m49/GHSA-j5qp-p44g-2m49.json
Location: core/src/shared/secure-fetch.ts
assertSecureUrl validated only the initial request URL. The fetch() API follows redirects by default (up to 20 hops). A request to a valid https:// URL could redirect to http://internal-service/ or other unvalidated destinations.
Fixed in v0.2.136 — secureFetch now defaults to redirect: 'error' which rejects any redirect. Callers can override with { redirect: 'follow' } if they trust the target.