Actively Exploited in the Wild

This vulnerability is being actively exploited in the wild.

Writebot AI Content Generator SaaS React Template File Upload Vulnerability Allowing Privilege Escalation

Vulnerability

A file upload vulnerability has been identified in the Writebot AI Content Generator SaaS React Template, affecting versions through 4.0.0. This vulnerability allows remote attackers to gain escalated privileges by sending a crafted POST request to the /file-upload endpoint. The issue arises from inadequate validation of file types and extensions, coupled with the absence of authentication or session checks. As a result, attackers can upload malicious PHP files disguised as images and execute arbitrary commands once the files are placed in a publicly accessible directory.

Impact

Exploitation of this vulnerability allows for unauthenticated arbitrary file uploads, which can lead to remote code execution by uploading a malicious PHP file that is executed on the server.

Reproduction

The vulnerability can be reproduced by uploading a PHP file disguised as an image through the /file-upload endpoint. The uploaded file can then be accessed via a public URL, allowing for the execution of arbitrary code.

Remediation

Developers are advised to require authentication for file uploads, validate and sanitize MIME types and file extensions, store uploaded files outside the webroot, randomize filenames, and restrict access to uploaded files.

Added: Aug 5, 2025, 8:18 PM
Updated: Aug 5, 2025, 10:07 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
9.1
remediation
0.0
relevance
0.3
threat
8.0
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.