Ruoyi v4.8.0 vulnerable to Incorrect Access Control. There is a missing checkUserDataScope permission check in the resetPwd Method of SysUserController.java.
https://gitee.com/y_project/RuoYi/issues/IC1JZR
https://gitee.com/y_project/RuoYi/commit/ea4af7a8cf54393b11d3d286e0aaeb3df8a9aaef
https://gist.github.com/Han-tj/29543ce0dae8cbb3bcbedca3390844a9