What’s Vulnerable › Vulnerabilities
CVE-2022-0169: Photo Gallery by 10Web < 1.6.0 - Unauthenticated SQL Injection
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 74.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-03-14 · updated 2026-06-17
- Weakness: CWE-89
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
- 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery: before 1.6.0 — fixed in 1.6.0
How to fix
Upgrade to a fixed version: 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery 1.6.0. Check the vendor advisory for mitigations.
References
- https://plugins.trac.wordpress.org/changeset/2672822/photo-gallery#file9
- https://wpscan.com/vulnerability/0b4d870f-eab8-4544-91f8-9c5f0538709c
- https://plugins.trac.wordpress.org/changeset/2672822/photo-gallery#file9
- https://wpscan.com/vulnerability/0b4d870f-eab8-4544-91f8-9c5f0538709c
Get alerted when CVE-2022-0169 or the next vulnerability affects your stack