@asymmetric-effort/specifyjs
Affected
- introduced
0, fixed0.2.136(semver)
Fixed versions
0.2.136
Fix
- Fixed version
0.2.136npm install @asymmetric-effort/[email protected]
Advisory
Also known as: None
@asymmetric-effort/specifyjs: GraphQL gql tag allows metacharacter injection
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.
Medium Basis: The source's own band: MODERATE
0, fixed 0.2.136 (semver)0.2.136
0.2.136npm install @asymmetric-effort/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0