Cross-site Scripting (XSS) Affecting express-graphql package, versions <0.4.11 >=0.4.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDnpm:express-graphql:20160211
  • published21 Jun 2017
  • disclosed10 Feb 2016
  • creditJames Behr, Kenan Sulayman

Introduced: 10 Feb 2016

CVE NOT AVAILABLE CWE-79  (opens in a new tab)

How to fix?

Upgrade express-graphql to version 0.4.11 or higher.

Overview

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.

Details

<>

CVSS Scores

version 3.1