Exposure of Sensitive System Information to an Unauthorized Control Sphere Affecting flags package, versions <4.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (10th percentile)

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 IDSNYK-JS-FLAGS-10182221
  • published20 May 2025
  • disclosed2 May 2025
  • creditUnknown

Introduced: 2 May 2025

NewCVE-2025-46332  (opens in a new tab)
CWE-497  (opens in a new tab)

How to fix?

Upgrade flags to version 4.0.0 or higher.

Overview

flags is a Flags SDK by Vercel - The feature flags toolkit for Next.js and SvelteKit

Affected versions of this package are vulnerable to Exposure of Sensitive System Information to an Unauthorized Control Sphere through the verifyAccess function. An attacker can gain access to flag names, flag descriptions, available options and their labels, and default flag values, which are exposed through the flags discovery endpoint.

CVSS Base Scores

version 4.0
version 3.1