# CVE-2022-4163: Contest Gallery < 19.1.5 - Author+ SQL Injection

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/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): 0.91%, higher than 58% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-12-26T12:28:05.085Z
- Modified: 2026-06-17T05:20:08.580Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: WPScan

## Description

The Contest Gallery WordPress plugin before 19.1.5.1, Contest Gallery Pro WordPress plugin before 19.1.5.1 do not escape the cg_deactivate and cg_activate POST parameters before concatenating it to an SQL query in  2_deactivate.php and 4_activate.php, respectively. This may allow malicious users with at least author privilege to leak sensitive information from the site's database.

(As written by CVE List.)

## Affected

- Unknown Contest Gallery: before 19.1.5.1
- Unknown Contest Gallery Pro: before 19.1.5.1
- contest-gallery contest_gallery: before 19.1.5.1

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://wpscan.com/vulnerability/de0d7db7-f911-4f5f-97f6-885ca60822d1> (exploit, technical-description, third-party-advisory, vdb-entry)
- <https://bulletin.iese.de/post/contest-gallery_19-1-4-1_10> (exploit, third-party-advisory)

## Sources

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

---

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