GHSA-9w87-4j72-gcv7
HIGHInsecure Default Configuration in graphql-code-generator
Versions of graphql-code-generator prior to 0.18.2 have an Insecure Default Configuration. The packages sets NODE_TLS_REJECT_UNAUTHORIZED to 0, disabling certificate verification for the entire project. This results in Insecure Communication for the process.
Recommendation
Upgrade to version 0.18.2 or later.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | graphql-code-generator | < 0.18.2 | 0.18.2 |
References
- https://github.com/dotansimha/graphql-code-generator/issues/1806 · WEB
- https://www.npmjs.com/advisories/834 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Sep 2020)