Skip to content
OpenAdvisories
Medium · 6.5 CVE-2022-4160 EUVD-2022-51521GHSA-r8rq-8q99-cp9f

Contest Gallery < 19.1.5 - Author+ SQL Injection

Published Dec 26, 2022 · Updated Apr 14, 2025 · Assigned by WPScan

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.

Affected products

VendorProductAffectedFixed
— Contest Gallery < 19.1.5.1 19.1.5.1
— Contest Gallery Pro < 19.1.5.1 19.1.5.1

References