Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. graphiql
  4. ›
  5. CVE-2021-41248

CVE-2021-41248: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

November 4, 2021 (updated November 9, 2021)

GraphiQL is the reference implementation of this monorepo, GraphQL IDE, an official project under the GraphQL Foundation. All versions of graphiql older are vulnerable to compromised HTTP schema introspection responses or schema prop values with malicious GraphQL type names, exposing a dynamic XSS attack surface that can allow code injection on operation autocomplete.

References

  • github.com/graphql/graphiql/commit/cb237eeeaf7333c4954c752122261db7520f7bf4
  • github.com/graphql/graphiql/security/advisories/GHSA-x4r7-m2q9-69c8
  • github.com/graphql/graphql-playground/security/advisories/GHSA-59r9-6jp6-jcm7
  • nvd.nist.gov/vuln/detail/CVE-2021-41248

Code Behaviors & Features

Detect and mitigate CVE-2021-41248 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.5.0 before 1.4.7

Fixed versions

  • 1.4.7

Solution

Upgrade to version 1.4.7 or above.

Impact 4.7 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/graphiql/CVE-2021-41248.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:06 +0000.