CVE-2025-46347 YesWiki Remote Code Execution via Arbitrary PHP File Write and Execution
Attackers can write and execute arbitrary PHP files on the server, leading to full system compromise.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-46347?
CVE-2025-46347 is a medium-severity vulnerability in yeswiki, published on 29 Apr 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
YesWiki is a wiki system written in PHP. Prior to version 4.5.4, YesWiki vulnerable to remote code execution. An arbitrary file write can be used to write a file with a PHP extension, which then can be browsed to in order to execute arbitrary code on the server, resulting in a full compromise of the server. This could potentially be performed unwittingly by a user. This issue has been patched in version 4.5.4.
Weakness: CWE-116
Which versions are affected by CVE-2025-46347?
2 open source packages ship an affected version, including yeswiki/yeswiki. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
yeswiki/yeswiki Packagist | All versions | 4.5.4 |
yeswiki/yeswiki Packagist | All versions | 4.5.4 |
Products include Yeswiki Yeswiki.
How do I fix CVE-2025-46347?
Upgrade yeswiki/yeswiki to 4.5.4 or later.
Is CVE-2025-46347 being exploited?
There is no known exploitation of CVE-2025-46347 in the wild and no public exploit code.
Other vulnerabilities in yeswiki
- CVE-2025-46348 YesWiki Vulnerable to Unauthenticated Site Backup Creation and Download
- CVE-2024-51478 Use of a Broken or Risky Cryptographic Algorithm in YesWiki
- CVE-2018-1000641 Deserialization in n/a
- CVE-2025-31131 Path Traversal allowing arbitrary read of files in Yeswiki
- CVE-2025-46349 YesWiki Vulnerable to Unauthenticated Reflected Cross-site Scripting
Sources
Also known as GHSA-88xg-v53p-fpvf.