# CVE-2026-97322: RuoYi-Vue-Pro file upload cross-site scripting in FileController

Source: https://junglewise.ai/threats/cve-2026-97322-a-vulnerability-was-found-in-yunaiv-zhijiantianya-ruoyi-vue-pro  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-24. Updated: 2026-09-26  
License: CC BY 4.0 with a link back

CVE-2026-97322 · Severity: medium · CVSS 4.3 · Published 2026-09-24

RuoYi-Vue-Pro is an open-source web application framework that includes file upload functionality. A cross-site scripting vulnerability in the file upload component allows attackers to inject malicious scripts that execute in users' browsers, potentially stealing session data or performing unauthorized actions on behalf of affected users.

Technologies: [YunaiV Ruoyi-Vue-Pro](https://junglewise.ai/threats/technologies/ruoyi-vue-pro). Vendors: [YunaiV](https://junglewise.ai/threats/vendors/yunaiv).

## Quick answers

**Is CVE-2026-97322 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-97322 being exploited in the wild.

**How severe is CVE-2026-97322?** Medium severity, with a CVSS score of 4.3, published 24 September 2026.

**Which products and versions are affected?** YunaiV Ruoyi-Vue-Pro up to 2026.08.

**Is there a fix for CVE-2026-97322?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-97322 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-97322?** Check whether you run YunaiV Ruoyi-Vue-Pro at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A cross-site scripting (XSS) vulnerability exists in the FileController component of RuoYi-Vue-Pro's file upload module. The vulnerability stems from insufficient input sanitization when handling file upload operations in yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/file/FileController.java. An authenticated attacker can inject malicious JavaScript through file metadata or upload parameters, leading to arbitrary script execution in the context of legitimate users' sessions.

## Affected products

- YunaiV RuoYi-Vue-Pro up to 2026.08

## Timeline

- 2026-09-24: disclosed
- other: Exploit made public; vendor contacted but did not respond

## References

- [https://vuldb.com/cve/CVE-2026-97322](https://vuldb.com/cve/CVE-2026-97322)
- [https://vuldb.com/submit/908273](https://vuldb.com/submit/908273)

## Related threats

- [YunaiV ruoyi-vue-pro authentication bypass in SMS verification](https://junglewise.ai/threats/cve-2026-116006-a-vulnerability-was-detected-in-yunaiv-zhijiantianya-ruoyi-vue)
- [ruoyi-vue-pro server-side request forgery in AI image service](https://junglewise.ai/threats/cve-2026-110610-ruoyi-vue-pro-through-2026-09-contains-a-server-side-request)
- [YunaiV ruoyi-vue-pro open redirect in OAuth2 Client](https://junglewise.ai/threats/cve-2026-97325-a-security-flaw-has-been-discovered-in-yunaiv-zhijiantianya-ruoyi)
- [RuoYi-Vue-Pro path traversal in file upload](https://junglewise.ai/threats/cve-2026-97323-a-vulnerability-was-determined-in-yunaiv-zhijiantianya-ruoyi-vue)
- [YunaiV ruoyi-vue-pro SQL injection in GoView Data Endpoint](https://junglewise.ai/threats/cve-2026-97321-a-vulnerability-has-been-found-in-yunaiv-zhijiantianya-ruoyi-vue)
