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
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Photo Gallery by 10Web – Mobile-Friendly Image Gallery | 1.6.0 – < 1.6.0 | 1.6.0 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
WordPress Photo Gallery Plugin SQL Injection (CVE-2022-0169)
auxiliary/gather/wp_photo_gallery_sqli
GitHub 1 repository
-
X3RX3SSec/CVE-2022-0169 ★ 3 · Jul 9, 2025
CVE-2022-0169 - WordPress Photo Gallery SQLi PoC
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Photo Gallery by 10Web < 1.6.0 - SQL Injection http/cves/2022/CVE-2022-0169.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.