Description
Tinacms is a Git-backed headless content management system with support for visual editing. Sites being built with @tinacms/cli >= 1.0.0 && < 1.0.9 which store sensitive values in the process.env variable are impacted. These values will be added in plaintext to the index.js file. If you're on a version prior to 1.0.0 this vulnerability does not affect you. If you are affected and your Tina-enabled website has sensitive credentials stored as environment variables (eg. Algolia API keys) you should rotate those keys immediately. This issue has been patched in @tinacms/cli@1.0.9. Users are advised to upgrade. There are no known workarounds for this issue.
Remediation
References
https://github.com/tinacms/tinacms/pull/3584
https://github.com/tinacms/tinacms/security/advisories/GHSA-pc2q-jcxq-rjrr
Related Vulnerabilities
CVE-2023-40178 Vulnerability in npm package @node-saml/node-saml
CVE-2021-31406 Vulnerability in maven package com.vaadin:flow-server
CVE-2022-41957 Vulnerability in npm package muhammara
CVE-2021-32050 Vulnerability in npm package mongodb
CVE-2016-0750 Vulnerability in maven package org.infinispan:infinispan-client-hotrod