CVE-2022-4158: contest-gallery contest_gallery SQL Injection
Vulnerability summary
CVE-2022-4158 is a high (CVSS 8.1) SQL Injection vulnerability in contest-gallery contest_gallery. EPSS estimates a 0.91% chance of exploitation in the next 30 days, higher than 59.2% of scored vulnerabilities. 2 public exploits are recorded. Fixed in 19.1.5.
Timeline
- 26-12-2022PublishedVulnerability first disclosed.
- 11-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 cg_Fields POST parameter before concatenating it to an SQL query in users-registry-check-registering-and-login.php. This may allow malicious visitors 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.91%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
+0.03 pp
From 0.88% on 19-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.4.1 (fixed in 19.1.5)
- contest-gallery-pro≤ 19.1.4.1 (fixed in 19.1.5)
Contest-gallery1 product
- contest_gallery< 19.1.5.1
3 vendors · 5 products
References
3 links- wpscan.com/vulnerability/1b3b51af-ad73-4f8e-ba97-375b8a363b64ExploitVDB EntryTechnical DescriptionThird Party Advisory