Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-j5qp-p44g-2m49: @asymmetric-effort/specifyjs: No redirect target validation in secureFetch

0
Medium
Published: 07/02/2026 (07/02/2026, 19:08:04 UTC)
Source: GCVE Database
Product: @asymmetric-effort/specifyjs

Description

The @asymmetric-effort/specifyjs package contained a vulnerability in its secureFetch function where redirect targets were not validated. The initial URL was checked for security, but subsequent redirects followed by the fetch API could lead to unvalidated and potentially insecure destinations. This could allow a request to a trusted HTTPS URL to be redirected to an untrusted or internal HTTP service. The issue was fixed in version 0.2.136 by changing the default redirect behavior to reject any redirects unless explicitly overridden by the caller.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

npmghsa
@asymmetric-effort/specifyjs
Affected versions
<0.2.136

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 23:14:33 UTC

Technical Analysis

The vulnerability in @asymmetric-effort/specifyjs (prior to v0.2.136) involves the secureFetch function's lack of validation for redirect targets. While the initial request URL was validated by assertSecureUrl, the fetch API's default behavior to follow redirects (up to 20 hops) was not restricted. This allowed a request to a validated HTTPS URL to be redirected to an unvalidated and potentially insecure HTTP URL, such as an internal service. The fix implemented in v0.2.136 sets secureFetch to default to redirect: 'error', which rejects redirects unless the caller explicitly opts in to follow them.

Potential Impact

An attacker could exploit this vulnerability by causing a request to a trusted HTTPS endpoint to be redirected to an untrusted or internal HTTP endpoint without validation. This could lead to unintended data exposure or interaction with internal services that were not meant to be accessed externally. The vulnerability is rated as medium severity and does not require privileges or user interaction to exploit.

Mitigation Recommendations

This vulnerability is fixed in @asymmetric-effort/specifyjs version 0.2.136 and later. Users should upgrade to v0.2.136 or above to ensure secureFetch rejects redirects by default. If redirects are necessary, callers must explicitly specify { redirect: 'follow' } and ensure they trust the redirect targets. No additional mitigation is required beyond upgrading or carefully managing redirect options.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-j5qp-p44g-2m49
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a46ecbb27e9c7971943cdf7

Added to database: 07/02/2026, 22:56:59 UTC

Last enriched: 07/02/2026, 23:14:33 UTC

Last updated: 07/03/2026, 00:02:12 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses