Vendor Homepage: https://github.com/songquanpeng/one-api
One-api latest suffers from a Stored Cross-Site Scripting (XSS) vulnerability in the system settings (other settings),when add "
" in Homepage Content field. This vulnerability allows attackers to cheat other users by injecting malicious scripts into web pages viewed by other users.
<img src = 1 onerror = alert(/homepage/)>
- Log in as a user with settings editing privileges.
- Add <script>alert('...');</script> to the Homepage Content、Footer、About System field,the xss vulnerability appears.