# CVE-2022-4566: y_project RuoYi GenController sql injection

- Severity: Medium 5.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.89%, higher than 60% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-12-16T00:00:00.000Z
- Modified: 2026-06-17T05:21:13.243Z
- Weaknesses: CWE-89, CWE-707
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability, which was classified as critical, has been found in y_project RuoYi 4.7.5. This issue affects some unknown processing of the file com/ruoyi/generator/controller/GenController. The manipulation leads to sql injection. The name of the patch is 167970e5c4da7bb46217f576dc50622b83f32b40. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-215975.

(As written by CVE List.)

## Affected

- y_project RuoYi: 4.7.5
- ruoyi ruoyi: 4.7.5

## Every score

- VulDB: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/luelueking/ruoyi-4.7.5-vuln-poc> (exploit, third-party-advisory)
- <https://gitee.com/y_project/RuoYi/issues/I65V2B> (exploit, third-party-advisory)
- <https://gitee.com/y_project/RuoYi/commit/167970e5c4da7bb46217f576dc50622b83f32b40> (permissions-required, third-party-advisory)
- <https://vuldb.com/?id.215975> (permissions-required, third-party-advisory)

## Sources

- CVE List: [CVE-2022-4566](https://www.cve.org/CVERecord?id=CVE-2022-4566), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2022-4566](https://nvd.nist.gov/vuln/detail/CVE-2022-4566), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4566 · Whole record: https://cve.day/CVE-2022-4566.json · Rebuilt by cve.day 2026-11-25T22:58:17.647Z
