Contest Gallery Pro <= 19.1.4.1 — Authenticated (Administrator+) SQL Injection via wp_user_id
CVE-2022-4154Published · Updated Action summary
Affected: ≤19.1.4.1Update to 19.1.5 or newer
All remediation steps- Severity
- Medium6.6
- CVSS
- 6.6CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HWhat does this vector mean?
AV:NAttack vector- Network
AC:HAttack complexity- High
PR:HPrivileges required- High
UI:NUser interaction- None
S:UScope- Unchanged
C:HConfidentiality- High
I:HIntegrity- High
A:HAvailability- High
- Weakness
- CWE-89 SQL Injection
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
Contest Gallery Pro contest-gallery-pro
- Affected≤ 19.1.4.1
- Patched in19.1.5
Update to 19.1.5 or newer.
You are affected if you run ≤ 19.1.4.1. Version 19.1.5 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Contest Gallery Pro.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to version 19.1.5, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch Contest Gallery Pro to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Kunal Sharma, Daniel Krohmer.
The Contest Gallery Pro plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 19.1.4.1 due to insufficient escaping on the user supplied wp_user_id parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with author-level privileges or higher to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in Contest Gallery Pro
All 18| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| Critical9.8 | Unauthenticated Privilege Escalation ≤29.0.1Update to 29.0.2 | CVE-2026-42680 | |
| High8.1 | Unauthenticated SQL Injection via user_id ≤19.1.5Update to 19.1.5.1 | CVE-2022-4156 | |
| High7.5 | Authenticated (Author+) SQL Injection via cg_option_id ≤19.1.4.1Update to 19.1.5 | CVE-2022-4157 | |
| High7.5 | Authenticated (Author+) SQL Injection via wp_user_id ≤19.1.4.1Update to 19.1.5 | CVE-2022-4155 | |
| High7.5 | Authenticated (Author+) SQL Injection via cg_multiple_files_for_post ≤19.1.4.1Update to 19.1.5 | CVE-2022-4164 |
- Critical9.8Unauthenticated Privilege Escalation
≤29.0.1Update to 29.0.2
- High8.1Unauthenticated SQL Injection via user_id
≤19.1.5Update to 19.1.5.1
- High7.5Authenticated (Author+) SQL Injection via cg_option_id
≤19.1.4.1Update to 19.1.5
- High7.5Authenticated (Author+) SQL Injection via wp_user_id
≤19.1.4.1Update to 19.1.5
- High7.5Authenticated (Author+) SQL Injection via cg_multiple_files_for_post
≤19.1.4.1Update to 19.1.5
Same weakness (SQL Injection)
All SQL Injection| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High7.2 | Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header | CVE-2026-120688 | |
| Critical9.8 | Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission | CVE-2026-125055 | |
| Critical9.8 | Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter | CVE-2026-119077 | |
| Medium5.3 | Unauthenticated Sensitive Information Exposure in 'search' Parameter | CVE-2026-121518 |
- High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent Header
EZ SQL Reports Shortcode Widget and DB Backup
≤5.25.25Update to 5.26.45
- Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form Submission
Chatterbug Forms – Fast, Flexible WordPress Form Builder
≤1.0.2Update to 1.1
- Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' Parameter
ELEX WordPress HelpDesk & Customer Ticketing System
≤3.3.9Update to 3.4.0
- Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce
≤5.127.0Update to 5.128.0
Timeline
CVE published
Severity medium, CVSS 6.6
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. [object Object] Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- [object Object]. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
