# CVE-2022-24124: SQL Injection in Casdoor

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- 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): 58.3%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2022-01-29T22:53:01.000Z
- Modified: 2026-10-04T11:40:45.650Z
- Also known as: GHSA-m358-g4rp-533r, GO-2022-0303, PYSEC-2022-43189
- Weaknesses: CWE-89
- Assigned by: mitre

## Description

The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the field and value parameters, as demonstrated by api/get-organizations.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/casdoor/casdoor (Go): before 1.13.1
- casbin casdoor: before 1.13.1
- casdoor (PyPI): before 1.13.1

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/casdoor/casdoor/issues/439> (exploit, fix, issue-tracking, patch, report, third-party-advisory, web)
- <https://github.com/casdoor/casdoor/pull/442> (exploit, fix, patch, third-party-advisory, web)
- <http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html> (exploit, evidence, third-party-advisory, vdb-entry, web)
- <https://github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1> (advisory, release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24124> (advisory)
- <https://github.com/casdoor/casdoor/commit/5ec0c7a89005819960d8fe07f5ddda13d1371b8c> (fix, web)
- <https://github.com/casdoor/casdoor> (package)
- <https://github.com/advisories/GHSA-m358-g4rp-533r> (advisory)

## Sources

- CVE List: [CVE-2022-24124](https://www.cve.org/CVERecord?id=CVE-2022-24124), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-m358-g4rp-533r](https://github.com/advisories/GHSA-m358-g4rp-533r), CC-BY-4.0, modified 2026-10-04
- Go Vulnerability Database: [GO-2022-0303](https://pkg.go.dev/vuln/GO-2022-0303), CC-BY-4.0, modified 2026-10-04
- NVD: [CVE-2022-24124](https://nvd.nist.gov/vuln/detail/CVE-2022-24124), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-43189](https://osv.dev/vulnerability/PYSEC-2022-43189), CC-BY-4.0, modified 2026-10-04

---

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