{"id":"GHSA-j5qp-p44g-2m49","revision":"91d0c0d8dc684476a4652548f623efe4","records":[{"revision":"91d0c0d8dc684476a4652548f623efe4","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-j5qp-p44g-2m49","aliases":[],"title":"@asymmetric-effort/specifyjs: No redirect target validation in secureFetch","description":"## Finding\n\n**Location**: `core/src/shared/secure-fetch.ts`\n\n`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.\n\n## Status\n\n**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.","state":0,"publishedAt":"2026-07-02T19:08:04+00:00","modifiedAt":"2026-09-10T03:51:11.5645373+00:00","affected":[{"ecosystem":"npm","name":"@asymmetric-effort/specifyjs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.2.136"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-j5qp-p44g-2m49","https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a","https://github.com/asymmetric-effort/specifyjs"],"sourceUrl":"https://github.com/advisories/GHSA-j5qp-p44g-2m49","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-j5qp-p44g-2m49","identifiers":["GHSA-j5qp-p44g-2m49"]},"retained":false,"historicalAffected":[]}],"coverage":[]}