{"id":"GHSA-j5qp-p44g-2m49","summary":"@asymmetric-effort/specifyjs: No redirect target validation in secureFetch","details":"## 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.","modified":"2026-09-10T03:51:11.564537342Z","published":"2026-07-02T19:08:04Z","database_specific":{"cwe_ids":["CWE-918"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-07-02T19:08:04Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-j5qp-p44g-2m49"},{"type":"WEB","url":"https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a"},{"type":"PACKAGE","url":"https://github.com/asymmetric-effort/specifyjs"}],"affected":[{"package":{"name":"@asymmetric-effort/specifyjs","ecosystem":"npm","purl":"pkg:npm/%40asymmetric-effort/specifyjs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.136"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-j5qp-p44g-2m49/GHSA-j5qp-p44g-2m49.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}