# CVE-2022-4156: Contest Gallery < 19.1.5.1 - Unauthenticated SQL Injection

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `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): 1.06%, higher than 65% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-12-26T12:28:07.463Z
- Modified: 2026-06-17T05:20:07.157Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, 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 user_id POST parameter before concatenating it to an SQL query in ajax-functions-backend.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 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`

## References

- <https://wpscan.com/vulnerability/254f6e8b-5fa9-4d6d-8e0e-1a4cae18aee0> (exploit, technical-description, third-party-advisory, vdb-entry)
- <https://bulletin.iese.de/post/contest-gallery_19-1-4-1_1> (exploit, third-party-advisory)

## Sources

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

---

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