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-5c7w-4wm3-85vw: @asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection

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

Description

The @asymmetric-effort/specifyjs package contained a vulnerability in its gql template tag function where interpolated values with GraphQL metacharacters were concatenated directly into query strings. This allowed potential GraphQL injection attacks. The issue was fixed in version 0.2.136 by making the gql function throw an error when such metacharacters are detected, requiring the use of the variables parameter instead.

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:15:00 UTC

Technical Analysis

The gql template tag function in @asymmetric-effort/specifyjs versions prior to 0.2.136 concatenated interpolated values containing GraphQL metacharacters (such as {}, (), :) into query strings despite warnings. This behavior enabled potential GraphQL injection vulnerabilities (CWE-943). The vulnerability was addressed in version 0.2.136 by changing the gql function to throw an error if metacharacters are detected in interpolated values, enforcing safer query construction via variables.

Potential Impact

This vulnerability allows an attacker to inject GraphQL metacharacters into queries, potentially manipulating the query structure and causing unintended behavior or data exposure. The impact is limited to applications using affected versions of the specifyjs gql tag function and depends on how queries are constructed and executed. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix is available in version 0.2.136 of @asymmetric-effort/specifyjs. Users should upgrade to version 0.2.136 or later. The gql function now enforces safe usage by throwing errors on metacharacter interpolation, requiring developers to use the variables parameter for dynamic values.

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-5c7w-4wm3-85vw
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
MODERATE
Cvss Version
4.0

Threat ID: 6a46ecbd27e9c7971943ce67

Added to database: 07/02/2026, 22:57:01 UTC

Last enriched: 07/02/2026, 23:15:00 UTC

Last updated: 07/03/2026, 03:24:22 UTC

Views: 4

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