# CVE-2022-24844: SQL Injection in github.com/flipped-aurora/gin-vue-admin

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/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): 1.46%, higher than 74% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-13T21:10:10.000Z
- Modified: 2026-06-17T04:32:38.650Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Gin-vue-admin is a backstage management system based on vue and gin, which separates the front and rear of the full stack. The problem occurs in the following code in server/service/system/sys_auto_code_pgsql.go, which means that PostgreSQL must be used as the database for this vulnerability to occur. Users must: Require JWT login） and be using PostgreSQL to be affected. This issue has been resolved in version 2.5.1. There are no known workarounds.

(As written by CVE List.)

## Affected

- flipped-aurora gin-vue-admin: < 2.5.1
- gin-vue-admin_project gin-vue-admin: before 2.5.1

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/flipped-aurora/gin-vue-admin/security/advisories/GHSA-5g92-6hpp-w425> (exploit, patch, third-party-advisory)
- <https://github.com/flipped-aurora/gin-vue-admin/pull/1024> (patch, third-party-advisory)

## Sources

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

---

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