{"id":"CVE-2025-54082","published":"2025-07-21T16:25:11Z","modified":"2025-07-21T18:01:55Z","title":"nova-tiptap has an Unauthenticated Arbitrary File Upload Vulnerability","vendor":"marshmallow-packages","product":"nova-tiptap","tier":"tail","description":{"text":"marshmallow-packages/nova-tiptap is a rich text editor for Laravel Nova based on tiptap. Prior to 5.7.0, a vulnerability was discovered in the marshmallow-packages/nova-tiptap Laravel Nova package that allows unauthenticated users to upload arbitrary files to any Laravel disk configured in the application. The vulnerability is due to missing authentication middleware (Nova and Nova.Auth) on the /nova-tiptap/api/file upload endpoint, the lack of validation on uploaded files (no MIME/type or extension restrictions), and the ability for an attacker to choose the disk parameter dynamically. This means an attacker can craft a custom form and send a POST request to /nova-tiptap/api/file, supplying a valid CSRF token, and upload executable or malicious files (e.g., .php, binaries) to public disks such as local, public, or s3. If a publicly accessible storage path is used (e.g. S3 with public access, or Laravel’s public disk), the attacker may gain the ability to execute or distribute arbitrary files — amounting to a potential Remote Code Execution (RCE) vector in some environments. This vulnerability was fixed in 5.7.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0094,"percentile":0.61802,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://github.com/marshmallow-packages/nova-tiptap/security/advisories/GHSA-96c2-h667-9fxp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/marshmallow-packages/nova-tiptap/commit/fed42d2f8ebb9e3c74f1ee262c9db33567030756","tags":["x_refsource_MISC"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":12.36},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"marshmallow-packages","affectedVersions":[{"vendor":"marshmallow-packages","product":"nova-tiptap","versions":["< 5.7.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-07-21T18:01:35.593029Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"marshmallow/nova-tiptap","vulnerableRanges":["<5.7.0"],"patched":["5.7.0"],"from":["GHSA-96c2-h667-9fxp"],"provenance":"source"},{"ecosystem":"Packagist","package":"manogi/nova-tiptap","vulnerableRanges":["<=3.2.6"],"patched":[],"from":["GHSA-96c2-h667-9fxp"],"provenance":"source"}],"summary":{"text":"The nova-tiptap package, a rich text editor for Laravel Nova from marshmallow-packages, contains an unrestricted file upload flaw in its file upload endpoint (/nova-tiptap/api/file), which is missing authentication middleware, file type or extension validation, and fixed disk selection. An unauthenticated remote attacker who can send HTTP requests to the endpoint, including a valid CSRF token, can upload arbitrary files, such as .php files or binaries, to any configured Laravel disk, and if that storage is publicly accessible, this may allow execution or distribution of the uploaded files.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:28Z"},"euvd":{"id":"EUVD-2025-22109","exploited":false,"provenance":"source"}}