Technical impact
A path traversal vulnerability exists in the VelocityUtils.getFileName method of the Code Generator component in yangzongzhuan RuoYi. By manipulating the className argument, an attacker can cause the method to output file paths that reference directories outside the intended location. The vulnerability can be triggered remotely, allowing an attacker to potentially read or access arbitrary files on the server where the application is deployed.
Affected Systems
The flaw affects installations of yangzongzhuan RuoYi (RuoYi) up to and including version 4.8.3. No affected versions beyond 4.8.3 are listed.
Risk and Exploitability
The CVSS score of 5.1 indicates moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA KEV. The attack vector is remote, reliant on supplying a crafted className value to the vulnerable function. Exploitation would require network access to the application and lack of input validation for the className parameter.