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.
Problem types
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CWE-201: Insertion of Sensitive Information Into Sent Data
Product status
References
github.com/...wberry/security/advisories/GHSA-x97m-qp5c-w9xj
github.com/strawberry-graphql/strawberry/issues/4398
github.com/strawberry-graphql/strawberry/pull/2842
github.com/...ommit/9315ef80a621ae50ca0bc5c82f560ca4ee7e47a9
github.com/...wberry-graphql/strawberry/releases/tag/0.315.4