{"id":"CVE-2025-46347","published":"2025-04-29T17:11:05Z","modified":"2025-04-29T18:06:22Z","title":"YesWiki Remote Code Execution via Arbitrary PHP File Write and Execution","vendor":"YesWiki","product":"yeswiki","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01048,"percentile":0.6505,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/YesWiki/yeswiki/security/advisories/GHSA-88xg-v53p-fpvf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/YesWiki/yeswiki/commit/8fe5275a78dc7e0f9c242baa3cbac6b5ac1cc066","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":13.01},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"yeswiki","affectedVersions":[{"vendor":"YesWiki","product":"yeswiki","versions":["< 4.5.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-29T18:06:13.841471Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"yeswiki/yeswiki","vulnerableRanges":["<4.5.4"],"patched":["4.5.4"],"from":["GHSA-88xg-v53p-fpvf"],"provenance":"source"}],"summary":{"text":"A remote code execution flaw in YesWiki (the yeswiki product, a PHP wiki system) prior to 4.5.4 allows an arbitrary file write, letting an attacker place a file with a PHP extension on the server. An attacker can reach this over the network with no authentication, but it requires a user to take an action, and once the PHP file is browsed to, arbitrary code runs on the server, potentially fully compromising it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:11Z"},"euvd":{"id":"EUVD-2025-12614","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-yeswiki-cve-2025-46346","parents":[{"from":"CVE-2025-46346","to":"CVE-2025-46347","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tools/templates/controllers/ApiController.php"],"commits":["https://github.com/YesWiki/yeswiki/commit/0d4efc880a727599fa4f6d7a64cc967afe475530","https://github.com/YesWiki/yeswiki/commit/8fe5275a78dc7e0f9c242baa3cbac6b5ac1cc066"],"basis":"shared function","functions":["deleteCustomCSSPreset"]}]}],"children":[{"from":"CVE-2025-46347","to":"CVE-2025-46348","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tools/templates/controllers/ApiController.php"],"commits":["https://github.com/YesWiki/yeswiki/commit/8fe5275a78dc7e0f9c242baa3cbac6b5ac1cc066","https://github.com/YesWiki/yeswiki/commit/0d4efc880a727599fa4f6d7a64cc967afe475530"],"basis":"shared function","functions":["deleteCustomCSSPreset"]}]}]}}