# CVE-2022-4160: 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): 1.03%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-12-26T12:28:17.582Z
- Modified: 2026-06-17T05:20:07.957Z
- 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_copy_id POST parameter before concatenating it to an SQL query in  cg-copy-comments.php and cg-copy-rating.php. 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/813de343-4814-42b8-b8df-1695320512cd> (exploit, technical-description, third-party-advisory, vdb-entry)
- <https://bulletin.iese.de/post/contest-gallery_19-1-4-1_14> (exploit, third-party-advisory)

## Sources

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

---

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