{"id":"CVE-2026-63123","published":"2026-08-19T21:41:18Z","modified":"2026-08-25T14:20:27Z","title":"Tina: Cross-origin `POST /media/upload/*` requests can write arbitrary files into the Tina dev server media root","vendor":"tinacms","product":"tinacms","tier":"tail","description":{"text":"Tina is a headless content management system. Prior to 2.5.2, the TinaCMS CLI package's Vite dev server packages/@tinacms/cli/src/next/vite/cors.ts origin callback returns false for a disallowed origin but does not reject the request, and packages/@tinacms/cli/src/next/vite/plugins.ts still routes POST /media/upload/* to mediaRouter.handlePost. The upload code in packages/@tinacms/cli/src/next/commands/dev-command/server/media.ts writes attacker-controlled multipart contents inside the configured media root. A remote attacker can cause a developer's browser to submit this state-changing request by inducing the developer to visit an attacker-controlled page while tinacms dev is running. This issue is fixed in version 2.5.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00264,"percentile":0.18684,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/tinacms/tinacms/security/advisories/GHSA-rgr9-r7mj-mf6x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tinacms/tinacms/pull/7111","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinacms/tinacms/commit/211997cdb53cbd43638bdee999faa65375cfc260","tags":["x_refsource_MISC"]},{"url":"https://github.com/tinacms/tinacms/releases/tag/@tinacms/cli@2.5.2","tags":["x_refsource_MISC"]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":3.74},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"tinacms","affectedVersions":[{"vendor":"tinacms","product":"tinacms","versions":["< 2.5.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-25T14:19:26.459504Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@tinacms/cli","vulnerableRanges":["<2.5.2"],"patched":["2.5.2"],"from":["GHSA-rgr9-r7mj-mf6x"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-62971","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tinacms-cli-cve-2026-28792","parents":[{"from":"CVE-2026-28792","to":"CVE-2026-63123","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["packages/@tinacms/cli/src/next/vite/cors.ts","packages/@tinacms/cli/src/next/vite/plugins.ts"],"commits":["https://github.com/tinacms/tinacms/commit/56d533e610a520ba66b3e58f3a0dc03487d5d5d7","https://github.com/tinacms/tinacms/commit/211997cdb53cbd43638bdee999faa65375cfc260"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-28793","published":"2026-03-12","fixed":"2.1.8","kev":false},{"cve":"CVE-2026-29066","published":"2026-03-12","fixed":"2.1.8","kev":false},{"cve":"CVE-2026-54074","published":"2026-07-01","fixed":"2.4.3","kev":false,"link":{"from":"CVE-2026-54074","to":"CVE-2026-63123","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@tinacms/cli","fromFixed":"2.4.3","toFixed":"2.5.2","daysApart":49}]}},{"cve":"CVE-2026-63123","published":"2026-08-19","fixed":"2.5.2","kev":false},{"cve":"CVE-2026-108259","published":"2026-10-09","fixed":"3.0.0","kev":false}],"package":"npm:@tinacms/cli"}}