@asymmetric-effort/specifyjs: No redirect target validation in secureFetchGHSA-j5qp-p44g-2m49
Fix: asymmetric-effort/specifyjs@25d1fb4GHSA-j5qp-p44g-2m49 is a security vulnerability in @asymmetric-effort/specifyjs. A fix is available for @asymmetric-effort/specifyjs — see the affected versions and patch details below.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@asymmetric-effort/specifyjsnpmDescription
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @asymmetric-effort/specifyjs | all versions | 0.2.136npm install @asymmetric-effort/specifyjs@0.2.136 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @asymmetric-effort/specifyjs, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @asymmetric-effort/specifyjs to 0.2.136 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-j5qp-p44g-2m49 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-j5qp-p44g-2m49 in your dependencies?
Find it across npm, including transitive dependencies.