The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 applicationsLearn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.
Start learningUpgrade @better-auth/stripe to version 1.7.16, 1.8.0-beta.5 or higher.
@better-auth/stripe is a Stripe plugin for Better Auth
Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via the stripeCustomerId user field, which lacks input: false and therefore accepts values from sign-up and update-user requests. An authenticated user who knows another customer's Stripe customer ID can overwrite their own stripeCustomerId with that value, then open the billing portal for the victim customer to view invoices and billing details, change payment methods, and cancel or modify subscriptions. A subscription created for the victim customer outside checkout can also be attributed to the attacker. The flaw does not allow signing in as another user or expose Stripe API keys.
Note: Billing effects require subscription.enabled: true in the plugin configuration.
Add databaseHooks.user.create.before and databaseHooks.user.update.before hooks that strip stripeCustomerId from incoming data. To detect values written before the fix, query for customer IDs held by more than one user record (e.g. on PostgreSQL: SELECT "stripeCustomerId", array_agg("id") AS user_ids FROM "user" WHERE "stripeCustomerId" IS NOT NULL GROUP BY "stripeCustomerId" HAVING count(*) > 1;). Run the same check on the organization table if organization billing is enabled.