Photo Gallery by 10Web Mobile-Friendly Image Gallery - SQLi (CVE-2022-0169)
Description
The Photo Gallery by 10Web WordPress plugin before 1.6.0 does not validate and escape the bwg_tag_id_bwg_thumbnails_0 parameter before using it in a SQL statement via the bwg_frontend_data AJAX action (available to unauthenticated and authenticated users), leading to an unauthenticated SQL injection
psychologyCrowdSec Analysis
CVE-2022-0169 is a critical SQL injection vulnerability in the Photo Gallery by 10Web WordPress plugin prior to version 1.6.0, allowing unauthenticated attackers to exploit the bwg_tag_id_bwg_thumbnails_0 parameter via AJAX requests. This flaw could enable remote attackers to execute arbitrary SQL commands, potentially leading to data theft, unauthorized access, or complete compromise of the affected WordPress site.
CrowdSec has been tracking this vulnerability and its exploits since 10th of September 2025.
CrowdSec network data shows that most actors exploiting CVE-2022-0169 rely on broad, untargeted scans with minimal filtering. The activity is largely automated and opportunistic in nature. CrowdSec data also reveals a clear uptick in attacks involving CVE-2022-0169 over the past week. Activity is above the usual baseline, suggesting growing attention from attackers. This may reflect rising awareness, recent exploit releases, or expanded targeting efforts.
Attackers exploit the /wp-admin/admin-ajax.php endpoint with the action=bwg_frontend_data parameter, injecting SQL payloads via the bwg_tag_id_bwg_thumbnails_0[] parameter to perform unauthenticated SQL injection attacks.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2022-03-14 |
| Rule Released | 2025-09-10 |
| CrowdSec First Seen | 2025-09-11 |