CVE-2023-25164: Sensitive Information leak via Script File in TinaCMS
8.6
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.49413%
CWE
Published
2/8/2023
Updated
2/8/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| @tinacms/cli | npm | >= 1.0.0, < 1.0.9 | 1.0.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unfiltered environment variable exposure in the TinaCMS CLI's server setup. The patch in #3584 specifically implemented a whitelist (NEXT_PUBLIC_* and TINA_PUBLIC_*), indicating previous versions lacked this filtering. The CLI's server initialization code would have contained the vulnerable environment variable handling logic, likely in the server setup/configuration files. While exact function names aren't visible in provided references, the pattern of environment variable handling in server middleware/configuration files matches typical implementations for this type of vulnerability.