GHSA-j5qp-p44g-2m49
MEDIUM@asymmetric-effort/specifyjs: No redirect target validation in secureFetch
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @asymmetric-effort/specifyjs | < 0.2.136 | 0.2.136 |
References
- https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-j5qp-p44g-2m49 · WEB
- https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a · WEB
- https://github.com/asymmetric-effort/specifyjs · PACKAGE
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Jul 2026)