# @asymmetric-effort/specifyjs redirect SSRF in secureFetch

Source: https://junglewise.ai/threats/asymmetric-effort-specifyjs-redirect-ssrf-in-securefetch-09dbb315  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-02. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4 · Published 2026-07-02

SpecifyJS is a JavaScript library used to build data-driven user interfaces. The secureFetch function validates the initial request URL but fails to validate redirect targets, allowing an attacker to redirect a request from a valid HTTPS endpoint to an internal service or other unvalidated destination. This could lead to server-side request forgery attacks and exposure of internal services.

Technologies: [Asymmetric Effort Specifyjs](https://junglewise.ai/threats/technologies/specifyjs), [@asymmetric-effort/specifyjs (npm)](https://junglewise.ai/threats/technologies/asymmetric-effort-specifyjs). Vendors: [Asymmetric Effort](https://junglewise.ai/threats/vendors/asymmetric-effort), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4, published 2 July 2026.

**Which products and versions are affected?** Asymmetric Effort Specifyjs <0.2.136; @asymmetric-effort/specifyjs (npm) SEMVER:introduced=0,fixed=0.2.136.

**Is there a fix for This vulnerability?** Yes. @asymmetric-effort/specifyjs (npm): upgrade to 0.2.136 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is This vulnerability attacked?** It is attacked over the network, in a software library.

**Am I affected?** Check whether you run Asymmetric Effort Specifyjs or @asymmetric-effort/specifyjs (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @asymmetric-effort/specifyjs (npm): upgrade to 0.2.136 or later

  ```sh
  npm install @asymmetric-effort/specifyjs@0.2.136
  ```


## Technical details

The vulnerability is a Server-Side Request Forgery (SSRF) via HTTP redirect in the secureFetch function located in core/src/shared/secure-fetch.ts. The assertSecureUrl validation only checks the initial request URL but does not validate redirect targets; the fetch() API follows redirects by default (up to 20 hops). An attacker can craft a response that redirects from a validated HTTPS URL to an internal service (e.g., http://internal-service/) or other unvalidated destination, causing the application to make requests to unintended targets. The fix, implemented in v0.2.136, changes the default behavior to redirect: 'error' which rejects any redirect, while allowing callers to explicitly opt into following redirects via { redirect: 'follow' } if they trust the target.

## Affected products

- asymmetric-effort specifyjs <0.2.136

## Timeline

- 2026-07-02: disclosed
- 2026-05-29: patched: Fixed in v0.2.136

## References

- [https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-j5qp-p44g-2m49](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/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a)

## Related threats

- [Asymmetric Effort SpecifyJS CSS sanitization bypass in renderToString](https://junglewise.ai/threats/cve-2026-50290-asymmetric-effort-specifyjs-css-sanitization-bypass-in)
- [SpecifyJS SSRF via URL validation bypass in secure-fetch](https://junglewise.ai/threats/cve-2026-50288-specifyjs-ssrf-via-url-validation-bypass-in-secure-fetch)
- [@asymmetric-effort/specifyjs unrestricted data URI memory exhaustion](https://junglewise.ai/threats/asymmetric-effort-specifyjs-unrestricted-data-uri-memory-exhaustion-47844f22)
- [@asymmetric-effort/specifyjs localhost bypass in SSRF check](https://junglewise.ai/threats/asymmetric-effort-specifyjs-localhost-bypass-in-ssrf-check-63583c44)
- [@asymmetric-effort/specifyjs information disclosure via console warnings](https://junglewise.ai/threats/asymmetric-effort-specifyjs-information-disclosure-via-console-warnings-1afedf35)
