@asymmetric-effort/specifyjs: No redirect target validation
Affects @asymmetric-effort/specifyjsSource GCVE Database
CVSS 6.9 Medium : upgrade to 0.2.136 when convenient.
Data as of 3 Jul 2026, 22:49 UTC
- Patch
- Available – fixed in 0.2.136
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NWhat to do
Upgrade @asymmetric-effort/specifyjs to 0.2.136.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@asymmetric-effort/specifyjs | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is fixed in @asymmetric-effort/specifyjs version 0.2.136 and later. Users should upgrade to v0.2.136 or above to ensure secureFetch rejects redirects by default. If redirects are necessary, callers must explicitly specify { redirect: 'follow' } and ensure they trust the redirect targets. No additional mitigation is required beyond upgrading or carefully managing redirect options.
Description
## Finding **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. ## Status **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.