CVE-2024-23841

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in npm/@apollo/experimental-nextjs-app-support

Identifiers

GHSA-rv8p-rr2h-fgpg, CVE-2024-23841

Package Slug

npm/@apollo/experimental-nextjs-app-support

Vulnerability

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

Description

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 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). To fix this issue, please update to version 0.7.0 or later.

Affected Versions

All versions up to 0.6.0

Solution

Upgrade to version 0.7.0 or above.

Last Modified

2024-01-31

source