cvedb.io
CVE-2021-41248
HIGH · CVSS 7.1
EPSS exploitation probability: 0%
Published 2021-11-04T21:15:08.097 · Last modified 2026-06-17T04:08:10.323

Summary

GraphiQL is the reference implementation of this monorepo, GraphQL IDE, an official project under the GraphQL Foundation. All versions of graphiql older than [email protected] are vulnerable to compromised HTTP schema introspection responses or schema prop values with malicious GraphQL type names, exposing a dynamic XSS attack surface that can allow code injection on operation autocomplete. In order for the attack to take place, the user must load a vulnerable schema in graphiql. There are a number of ways that can occur. By default, the schema URL is not attacker-controllable in graphiql or in its suggested implementations or examples, leaving only very complex attack vectors. If a custom implementation of graphiql's fetcher allows the schema URL to be set dynamically, such as a URL query pa

Affected products

graphql — graphiql

Does this affect you?

Add your gear to cvedb and we'll alert you only when graphql ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.