CVE-2022-4160: Contest Gallery < 19.1.5 - Author+ SQL Injection
Vulnerability summary
CVE-2022-4160 is a high (CVSS 7.5) vulnerability in contest-gallery contest_gallery. EPSS estimates a 1.03% chance of exploitation in the next 30 days, higher than 64.7% of scored vulnerabilities. 2 public exploits are recorded. Fixed in 19.1.5.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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_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.
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
1.03%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.99% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
2 foundExploit Reference (wpscan.com)
Maturity: unknown
Exploit Reference (bulletin.iese.de)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
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/813de343-4814-42b8-b8df-1695320512cdExploitVDB EntryTechnical DescriptionThird Party Advisory