CVE-2024-10687: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
The Photos, Files, YouTube, Twitter, Instagram, TikTok, Ecommerce Contest Gallery – Upload, Vote, Sell via PayPal, Social Share Buttons plugin for WordPress is vulnerable to time-based SQL Injection via the $collectedIds parameter in all versions up to, and including, 24.0.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
AI Analysis
Technical Summary
CVE-2024-10687 is a critical SQL Injection vulnerability (CWE-89) in the Contest Gallery – Upload & Vote Photos, Media, Sell via PayPal, Social Share Buttons WordPress plugin. The vulnerability exists in all versions up to and including 24.0.3, specifically in the handling of the $collectedIds parameter. Insufficient escaping and lack of prepared statements allow unauthenticated attackers to append additional SQL queries, enabling time-based SQL Injection attacks. This can be exploited to extract sensitive information from the database.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary SQL commands on the backend database. This can lead to disclosure of sensitive data, modification or deletion of data, and potentially full system compromise. The CVSS score of 9.8 reflects the critical nature of this vulnerability with network attack vector, no privileges required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling or removing the vulnerable plugin to prevent exploitation. Monitor vendor channels for updates and apply patches promptly once available.
CVE-2024-10687: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in contest-gallery Contest Gallery – Upload & Vote Photos, Media, Sell with PayPal & Stripe
Description
The Photos, Files, YouTube, Twitter, Instagram, TikTok, Ecommerce Contest Gallery – Upload, Vote, Sell via PayPal, Social Share Buttons plugin for WordPress is vulnerable to time-based SQL Injection via the $collectedIds parameter in all versions up to, and including, 24.0.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-10687 is a critical SQL Injection vulnerability (CWE-89) in the Contest Gallery – Upload & Vote Photos, Media, Sell via PayPal, Social Share Buttons WordPress plugin. The vulnerability exists in all versions up to and including 24.0.3, specifically in the handling of the $collectedIds parameter. Insufficient escaping and lack of prepared statements allow unauthenticated attackers to append additional SQL queries, enabling time-based SQL Injection attacks. This can be exploited to extract sensitive information from the database.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary SQL commands on the backend database. This can lead to disclosure of sensitive data, modification or deletion of data, and potentially full system compromise. The CVSS score of 9.8 reflects the critical nature of this vulnerability with network attack vector, no privileges required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider disabling or removing the vulnerable plugin to prevent exploitation. Monitor vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-11-01T15:03:30.968Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6dfab7ef31ef0b5922ca
Added to database: 2/25/2026, 9:47:38 PM
Last enriched: 4/9/2026, 5:50:31 AM
Last updated: 4/12/2026, 6:06:15 AM
Views: 23
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.