apollo-server@2.7.0-alpha.13 vulnerabilities

Production ready GraphQL Server

  • latest version

    3.13.0

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    1 years ago

  • deprecated

    Package is deprecated

  • licenses detected

    • >=0.2.0-rc.1
  • Direct Vulnerabilities

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Request Forgery (CSRF)

    apollo-server is a Production ready GraphQL Server

    Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) if the server uses graphql-upload and SameSite=None cookies for authentication. JS on any origin will then cause browsers to send cookie-authenticated mutations to the GraphQL server, which will be executed without checking the CORS policy first.

    How to fix Cross-site Request Forgery (CSRF)?

    Upgrade apollo-server to version 2.25.4 or higher.

    >=2.0.0 <2.25.4
    • H
    Cross-site Scripting (XSS)

    apollo-server is a Production ready GraphQL Server

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS). Compromised HTTP schema introspection responses or schema prop values with malicious GraphQL type names, may expose a dynamic XSS attack surface that can allow code injection on operation autocomplete.

    How to fix Cross-site Scripting (XSS)?

    Upgrade apollo-server to version 2.25.3, 3.4.1 or higher.

    <2.25.3>=3.0.0 <3.4.1