@apollographql/graphql-playground-html
TypeScript icon, indicating that this package has built-in type declarations

1.6.29 • Public • Published

@apollographql/graphql-playground-html

NOTE: This is a fork of graphql-playground-html which is meant to be used by Apollo Server and only by Apollo Server. It is not intended to be used directly. Those looking to use GraphQL Playground directly can refer to the upstream repository for usage instructions.

SECURITY WARNING: Via the upstream fork, this package had a severe XSS Reflection attack vulnerability until version 1.6.25 of this package. While we have published a fix, users were only affected if they were using @apollographql/graphql-playground-html directly as their own custom middleware. The direct usage of this package was never recommended as it provided no advantage over the upstream package in that regard. Users of Apollo Server who leverage this package automatically by the dependency declared within Apollo Sever were not affected since Apollo Server never provided dynamic facilities to customize playground options per request. Users of Apollo Server would have had to statically embedded very explicit vulnerabilities (e.g., using malicious, unescaped code, <script> tags, etc.).

Readme

Keywords

none

Package Sidebar

Install

npm i @apollographql/graphql-playground-html

Weekly Downloads

1,174,335

Version

1.6.29

License

MIT

Unpacked Size

28.4 kB

Total Files

13

Last publish

Collaborators

  • glasser
  • trevor.scheer