CVE-2022-4162: contest-gallery contest_gallery SQL Injection
Vulnerability summary
CVE-2022-4162 is a high (CVSS 7.5) SQL Injection vulnerability in contest-gallery contest_gallery. EPSS estimates a 0.88% chance of exploitation in the next 30 days, higher than 58.4% of scored vulnerabilities. 2 public exploits are recorded. Fixed in 19.1.5.
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 cg_row POST parameter before concatenating it to an SQL query in 3_row-order.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.orgCNA6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.88%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
+0.02 pp
From 0.85% 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/011500ac-17e4-4d4f-bbd9-1fec70511776ExploitVDB EntryTechnical DescriptionThird Party Advisory