{"id":"GHSA-j5qp-p44g-2m49","aliases":["GHSA-j5qp-p44g-2m49"],"related":[],"kind":"vulnerability","state":"published","title":"@asymmetric-effort/specifyjs: No redirect target validation in secureFetch","summary":"## 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"## 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.","format":"markdown","source":"ghsa"}],"published":"2026-07-02T19:08:04.000Z","modified":"2026-09-10T03:51:11.564Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.136"}],"ecosystem":"npm","package":"@asymmetric-effort/specifyjs","purl":"pkg:npm/%40asymmetric-effort/specifyjs","source":"ghsa"}],"references":[{"url":"https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-j5qp-p44g-2m49","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/asymmetric-effort/specifyjs","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j5qp-p44g-2m49","url":"https://github.com/advisories/GHSA-j5qp-p44g-2m49","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:11.564Z"}],"updatedAt":"2026-11-25T22:56:45.722Z"}