{"id":"CVE-2025-7906","published":"2025-07-20T19:32:05Z","modified":"2025-07-21T15:52:37Z","title":"yangzongzhuan RuoYi CommonController.java uploadFile unrestricted upload","vendor":"yangzongzhuan","product":"RuoYi","tier":"tail","description":{"text":"A vulnerability was found in yangzongzhuan RuoYi up to 4.8.1 and classified as critical. This issue affects the function uploadFile of the file ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CommonController.java. The manipulation of the argument File leads to unrestricted upload. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00369,"percentile":0.31576,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://vuldb.com/?id.317021","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.317021","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.618361","tags":["third-party-advisory"]},{"url":"https://github.com/yangzongzhuan/RuoYi/issues/296","tags":["exploit","issue-tracking"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":6.32},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"yangzongzhuan","affectedVersions":[{"vendor":"yangzongzhuan","product":"RuoYi","versions":["4.8.0","4.8.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-21T15:48:42.465096Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-22036","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/yangzongzhuan/RuoYi/issues/296"]}