# GHSA-9w87-4j72-gcv7: Insecure Default Configuration in graphql-code-generator

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-02T18:27:54.000Z
- Modified: 2020-08-31T18:37:32.000Z

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- graphql-code-generator (npm): before 0.18.2

## References

- <https://github.com/dotansimha/graphql-code-generator/issues/1806> (web)
- <https://www.npmjs.com/advisories/834> (web)

## Sources

- GitHub Advisory Database: [GHSA-9w87-4j72-gcv7](https://github.com/advisories/GHSA-9w87-4j72-gcv7), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-9w87-4j72-gcv7 · Whole record: https://cve.day/GHSA-9w87-4j72-gcv7.json · Rebuilt by cve.day 2026-11-25T22:56:44.985Z
