Description
Strawberry GraphQL is a library for creating GraphQL APIs. In versions 0.288.4 through 0.315.3, Strawberry's bundled GraphiQL template wrote values from the GraphiQL headers editor into the browser URL query string. If a user entered a sensitive header, such as `Authorization: Bearer <token>`, the value could become visible in browser history, copied links, and server/proxy/CDN access logs after a page reload or shared request. Version 0.315.4 patches the issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| strawberry-graphql | strawberry | >= 0.288.4, < 0.315.4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | strawberry-graphql | >= 0.288.4, < 0.315.4 | 0.315.4 | GHSA-x97m-qp5c-w9xj |
References
- https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-x97m-qp5c-w9xj
- https://github.com/strawberry-graphql/strawberry/issues/4398
- https://github.com/strawberry-graphql/strawberry/pull/2842
- https://github.com/strawberry-graphql/strawberry/commit/9315ef80a621ae50ca0bc5c82f560ca4ee7e47a9
- https://github.com/strawberry-graphql/strawberry/releases/tag/0.315.4