Advisory

GHSA-96c2-h667-9fxp

Also known as: CVE-2025-54082

Summary

nova-tiptap has Unauthenticated Arbitrary File Upload Vulnerability

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-07-21 19:09 UTC
Modified
2025-07-22 16:38 UTC

Affected packages and fixes

marshmallow/nova-tiptap

Packagist · All systems

Affected

  • introduced 0, fixed 5.7.0 (ecosystem)

Fixed versions

5.7.0

Fix

The export has no generic command for this ecosystem.

manogi/nova-tiptap

Packagist · All systems

Affected

  • introduced 0, last affected 3.2.6 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences