CVE-2022-4156: contest-gallery contest_gallery SQL Injection
Vulnerability summary
CVE-2022-4156 is a high (CVSS 8.1) SQL Injection vulnerability in contest-gallery contest_gallery. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 60.4% of scored vulnerabilities. 2 public exploits are recorded. Fixed in 19.1.5.1.
Timeline
- 26-12-2022PublishedVulnerability first disclosed.
- 14-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.95%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
+0.03 pp
From 0.92% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (wpscan.com)
Maturity: unknown
Exploit Reference (bulletin.iese.de)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Unknown2 products
- contest gallery< 19.1.5.1
- contest gallery pro< 19.1.5.1
Wordpress2 products
- contest-gallery≤ 19.1.5 (fixed in 19.1.5.1)
- contest-gallery-pro≤ 19.1.5 (fixed in 19.1.5.1)
Contest-gallery1 product
- contest_gallery< 19.1.5.1
3 vendors · 5 products
References
3 links- wpscan.com/vulnerability/254f6e8b-5fa9-4d6d-8e0e-1a4cae18aee0ExploitVDB EntryTechnical DescriptionThird Party Advisory