CVE-2025-24019: YesWiki Arbitrary File Deletion Vulnerability

yeswiki/yeswiki Updated 02 Oct 2025

Summary

21/01/2025
Yes i
High
7.1

CVE-2025-24019: Authenticated arbitrary file deletion in YesWiki. Affects yeswiki/yeswiki versions < 4.5.0. Fixed in 4.5.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

YesWiki is an open-source wiki software that allows users to create and manage collaborative content. It provides features such as file attachments, user permissions, and a file manager for organizing resources. However, a critical vulnerability has been identified in versions up to 4.4.5, which allows authenticated users to delete arbitrary files on the server, potentially compromising the integrity of the wiki and its data.

Vulnerability Detail

The vulnerability arises from the file manager functionality within YesWiki, specifically in the fmErase() and fmDelete() methods. These methods do not properly validate or sanitize the file paths provided by users, allowing malicious actors to specify any file path on the server. This can lead to unauthorized deletion of files, including critical system files, resulting in data loss and potential denial of service. The vulnerability is particularly severe as it allows any authenticated user to exploit this flaw without restriction, leading to significant risks for the application and its users.

How To Fix

Minimum fixed version

4.5.0

This is the first release that contains the fix.

composer require yeswiki/yeswiki:4.5.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, restrict user permissions to limit access to the file manager functionality. This can help mitigate the risk of unauthorized file deletions until a patch is applied.

Conclusion

CVE-2025-24019 represents a significant security risk for YesWiki installations, allowing authenticated users to delete arbitrary files. It is crucial for users to update to the latest version and implement recommended security practices to safeguard their data and maintain the integrity of their wiki.

See every vulnerability recorded for yeswiki/yeswiki →

Share this vulnerability

FAQ

CVE-2025-24019 is a vulnerability in YesWiki that allows authenticated users to delete arbitrary files on the server due to insufficient validation in the file manager.

YesWiki versions up to and including 4.4.5 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability can lead to unauthorized deletion of important files, resulting in data loss, website defacement, and potential denial of service.

Ensure you update to the patched version (4.5.0 or later) and implement additional security measures such as restricting user permissions and validating file paths.

Related vulnerabilities

Recent vulnerabilities recorded for yeswiki/yeswiki.

How To Fix

Minimum fixed version

4.5.0

This is the first release that contains the fix.

composer require yeswiki/yeswiki:4.5.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback