Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @asymmetric-effort/specifyjs
  4. ›
  5. GHSA-5c7w-4wm3-85vw

GHSA-5c7w-4wm3-85vw: @asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection

July 2, 2026

Finding

Location: core/src/client/graphql.ts:66-80

The gql template tag function warned about interpolated values containing GraphQL metacharacters ({}():) but still concatenated them into the query string, enabling potential GraphQL injection.

Status

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.

References

  • github.com/advisories/GHSA-5c7w-4wm3-85vw
  • github.com/asymmetric-effort/specifyjs/commit/25d1fb491d99479efdf501f5f75e0bb80c908f0a
  • github.com/asymmetric-effort/specifyjs/security/advisories/GHSA-5c7w-4wm3-85vw

Code Behaviors & Features

Detect and mitigate GHSA-5c7w-4wm3-85vw with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.136

Fixed versions

  • 0.2.136

Solution

Upgrade to version 0.2.136 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-943: Improper Neutralization of Special Elements in Data Query Logic

Source file

npm/@asymmetric-effort/specifyjs/GHSA-5c7w-4wm3-85vw.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 13 Jul 2026 00:20:18 +0000.