# CVE-2023-49371: RuoYi vulnerable to SQL injection vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 3.65%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-12-01T00:00:00.000Z
- Modified: 2026-06-17T06:35:52.930Z
- Also known as: GHSA-fg29-37px-c7wm
- Weaknesses: CWE-89
- Assigned by: mitre

## Description

RuoYi up to v4.6 was discovered to contain a SQL injection vulnerability via /system/dept/edit.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.ruoyi:ruoyi (Maven): up to 4.6
- ruoyi ruoyi: up to 4.6.0

## Every score

- GitHub: 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`
- 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/Maverickfir/RuoYi-v4.6-vulnerability/blob/main/Ruoyiv4.6.md> (exploit, web)
- <https://gist.github.com/Maverickfir/53405b944b2830b43a84abf4b1734847> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49371> (advisory)

## Sources

- CVE List: [CVE-2023-49371](https://www.cve.org/CVERecord?id=CVE-2023-49371), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-fg29-37px-c7wm](https://github.com/advisories/GHSA-fg29-37px-c7wm), CC-BY-4.0, modified 2023-12-07
- NVD: [CVE-2023-49371](https://nvd.nist.gov/vuln/detail/CVE-2023-49371), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-49371 · Whole record: https://cve.day/CVE-2023-49371.json · Rebuilt by cve.day 2026-11-25T22:58:30.862Z
