express-graphql@0.4.0 vulnerabilities

Production ready GraphQL HTTP middleware.

Direct Vulnerabilities

Known vulnerabilities in the express-graphql package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

express-graphql is a GraphQL HTTP middleware. Affected versions of the package are vulnerable to Cross-site Scripting (XSS). When the initial page loads, the HTML was was not properly escaped in queries or variables causing GraphiQL to break.

How to fix Cross-site Scripting (XSS)?

Upgrade express-graphql to version 0.4.11 or higher.

>=0.4.0 <0.4.11