GitHub Advisoryadvisory · Packagist
GHSA-96c2-h667-9fxp nova-tiptap has Unauthenticated Arbitrary File Upload Vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2025-54082
- Ecosystem
- Packagist
- Packages
- marshmallow/nova-tiptap, manogi/nova-tiptap
- Severity
- Critical
- CVSS 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
- Weaknesses
- CWE-434
- Reviewed
- 2025-07-21
Affected packages
• Packagist marshmallow/nova-tiptap: < 5.7.0 → fixed in 5.7.0
• Packagist manogi/nova-tiptap: <= 3.2.6 (no fix yet)
Description
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
• Lack of validation on uploaded files (no MIME/type or extension restrictions)
• 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.
Related
Alias · CVE (1)
- CVE-2025-54082 marshmallow-packages/nova-tiptap is a rich text editor for Laravel Nova based on tiptap. vulnerability
Weakness · CWE (1)
- CWE-434 Unrestricted Upload of File with Dangerous Type weakness
References
- https://github.com/marshmallow-packages/nova-tiptap/security/advisories/GHSA-96c2-h667-9fxp web
- https://nvd.nist.gov/vuln/detail/CVE-2025-54082 advisory
- https://github.com/marshmallow-packages/nova-tiptap/commit/fed42d2f8ebb9e3c74f1ee262c9db33567030756 web
- https://github.com/marshmallow-packages/nova-tiptap package