Radar sectionsDatabase
Check my site
WordPress plugin

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.6
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
What does this vector mean?
AV:N Attack vector
Network
AC:H Attack complexity
High
PR:H Privileges required
High
UI:N User interaction
None
S:U Scope
Unchanged
C:H Confidentiality
High
I:H Integrity
High
A:H Availability
High
Weakness
CWE-89 SQL Injection
Required access
Unknown
Exploit prediction (EPSS)
No score
CISA KEV
Not listed

Am I affected?

Contest Gallery Pro contest-gallery-pro

  1. Affected≤ 19.1.4.1
  2. 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

  1. Update to version 19.1.5, or a newer patched version
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
  3. 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

More in Contest Gallery Pro

All 18
More vulnerabilities in Contest Gallery Pro
SeverityVulnerabilityCVEPublished
Critical9.8Unauthenticated Privilege Escalation
≤29.0.1Update to 29.0.2
CVE-2026-42680
High8.1Unauthenticated SQL Injection via user_id
≤19.1.5Update to 19.1.5.1
CVE-2022-4156
High7.5Authenticated (Author+) SQL Injection via cg_option_id
≤19.1.4.1Update to 19.1.5
CVE-2022-4157
High7.5Authenticated (Author+) SQL Injection via wp_user_id
≤19.1.4.1Update to 19.1.5
CVE-2022-4155
High7.5Authenticated (Author+) SQL Injection via cg_multiple_files_for_post
≤19.1.4.1Update to 19.1.5
CVE-2022-4164

Same weakness (SQL Injection)

All SQL Injection
Other SQL Injection vulnerabilities
SeverityVulnerabilityCVEPublished
High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent HeaderCVE-2026-120688
Critical9.8Unauthenticated Arbitrary File Upload via File Upload via Public Form SubmissionCVE-2026-125055
Critical9.8Unauthenticated PHP Object Injection to Remote Code Execution via 'form' ParameterCVE-2026-119077
Medium5.3Unauthenticated Sensitive Information Exposure in 'search' Parameter
Customer Reviews for WooCommerce≤5.127.0Update to 5.128.0
CVE-2026-121518

Timeline

  1. CVE published

    Severity medium, CVSS 6.6

  2. 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.

How we use these sources

Search VulnCrest Radar

Are you sure?