SparkyFitness before 1.12.0 IDOR via Nutritionix Provider providerId Parameter
- State
- Published
- Severity
- 2.3 Low
- Published
- Nov 24, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 23, 2026
Description
SparkyFitness before 1.12.0 contains a missing ownership check in getNutritionixHeaders that allows authenticated users to use another user's Nutritionix API credentials via the providerId parameter. Attackers who know a victim's provider UUID can call the Nutritionix search, nutrients, item, or exercise endpoints to consume the victim's paid API quota.
| Product | Versions |
|---|---|
| SparkyFitness CodeWithCJ | before 1.12.0 Affected1.12.0 Not Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | VulnCheck | |
| 3.1 | 4.2 Medium | VulnCheck |
Weaknesses
- CWE-639 Authorization Bypass Through User-Controlled Key
References
- GitHub Security Advisory (GHSA-m32j-h3qw-jpvc)Vendor Advisory
- https://github.com/CodeWithCJ/SparkyFitness/commit/932833dad62f104fc334772f88bff745f6556ae8Patch
- SparkyFitness v1.12.0 Release NotesRelease Notes
- https://github.com/CodeWithCJ/SparkyFitness/blob/v1.11.0/SparkyFitnessServer/integrations/nutritionix/nutritionixService.ts#L21Technical Details
- VulnCheck Advisory: SparkyFitness before 1.12.0 IDOR via Nutritionix Provider providerId ParameterThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.