CVE-2026-129549: Tensei through 0.11.5 Unauthenticated File Upload via @tensei/media files/upload
Tensei through 0.11.5 contains an unrestricted file upload vulnerability in the @tensei/media plugin that allows unauthenticated attackers to upload dangerous file types via the files/upload route. Attackers can set the multipart Content-Type to upload HTML or SVG files served from the application origin, causing stored cross-site scripting and storage consumption.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Applications using the @tensei/media plugin in Tensei through version 0.11.5 are exposed if the files/upload route is reachable by unauthenticated users. The affected upload handling permits dangerous file types to be uploaded without authentication.
What does an attacker need to exploit it?
An attacker only needs network access to the files/upload route and must send a multipart upload with a controlled Content-Type. No authentication is required, although a victim must later load attacker-uploaded HTML or SVG from the application origin for stored cross-site scripting to occur.
What are the likely impacts?
Uploaded HTML or SVG files can be served from the application's own origin and execute as stored cross-site scripting when viewed. Repeated uploads can also consume available storage.
What can be done if patching is not immediately possible?
Restrict unauthenticated access to the files/upload route and reject or block HTML and SVG uploads. Limit upload size and storage consumption, and prevent uploaded content from being served from the application origin where possible.