Skip to main content

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

CVE-2024-23841

Severity Medium
Score 6.1/10

Summary

The apollo-client-nextjs is the Apollo Client support for the Next.js App Router. The @apollo/experimental-apollo-client-nextjs NPM package is vulnerable to a Cross-site Scripting (XSS) vulnerability. To exploit this vulnerability, an attacker would need to either inject malicious input (e.g. by redirecting a user to a specifically crafted link) or arrange to have malicious input be returned by a GraphQL server (e.g. by persisting it in a database). This issue affects @apollo/experimental-nextjs-app-support versions prior to 0.7.0.

  • LOW
  • NETWORK
  • LOW
  • CHANGED
  • REQUIRED
  • NONE
  • LOW
  • NONE

CWE-80 - Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.

Advisory Timeline

  • Published