GHSA-5c7w-4wm3-85vw: @asymmetric-effort/specifyjs GraphQL Gql Tag Allows Metacharacter Vulnerability
MODERATEGHSA-5c7w-4wm3-85vw is a MODERATE graphql gql tag allows metacharacter vulnerability (CWE-943: Improper Neutralization of Special Elements in Data Query Logic) affecting @asymmetric-effort/specifyjs libraries in the npm ecosystem. The issue involves graphql gql tag allows metacharacter injection. Remediation is available by upgrading affected packages to version 0.2.136.
GHSA-5c7w-4wm3-85vw at a Glance
How to Fix GHSA-5c7w-4wm3-85vw
To remediate this vulnerability, upgrade all affected @asymmetric-effort/specifyjs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @asymmetric-effort/specifyjs@0.2.136
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @asymmetric-effort/specifyjs
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-5c7w-4wm3-85vw, inspect your project dependencies using npm:
npm ls @asymmetric-effort/specifyjs
Analyze the terminal output to locate any version of @asymmetric-effort/specifyjs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.136), your application is affected.
Note: The npm ls @asymmetric-effort/specifyjs command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-943: Improper Neutralization of Special Elements in Data Query Logic, where the product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query. In @asymmetric-effort/specifyjs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-5c7w-4wm3-85vw Affected @asymmetric-effort/specifyjs Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@asymmetric-effort/specifyjs
|
npm |
< 0.2.136
|
0.2.136
|
References
Frequently Asked Questions
What is GHSA-5c7w-4wm3-85vw?
Which @asymmetric-effort/specifyjs versions are affected?
What version fixes GHSA-5c7w-4wm3-85vw?
Is @asymmetric-effort/specifyjs affected?
What CWE is associated with GHSA-5c7w-4wm3-85vw?
How can I check npm dependencies for GHSA-5c7w-4wm3-85vw?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5c7w-4wm3-85vw",
"modified" : "2026-07-02T19:00:12Z",
"published" : "2026-07-02T19:00:12Z",
"aliases" : [ ],
"summary" : "@asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection",
"details" : "## Finding\n\n**Location**: `core/src/client/graphql.ts:66-80`\n\nThe `gql` template tag function warned about interpolated values containing GraphQL metacharacters (`{}():`) but still concatenated them into the query string, enabling potential GraphQL injection.\n\n## Status\n\n**Fixed in v0.2.136** — The `gql` function now throws an error when metacharacters are detected in interpolated values, forcing developers to use the `variables` parameter.",
"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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@asymmetric-effort/specifyjs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.2.136"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-5c7w-4wm3-85vw"
}, {
"type" : "WEB",
"url" : "https://github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/asymmetric-effort/specifyjs"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-943" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-02T19:00:12Z",
"nvd_published_at" : null
}
}