CVE-2022-0169: 10web photo_gallery SQL Injection
Vulnerability summary
CVE-2022-0169 is a critical (CVSS 9.8) SQL Injection vulnerability in 10web photo_gallery. EPSS estimates a 74.61% chance of exploitation in the next 30 days, higher than 99.4% of scored vulnerabilities. 2 public exploits are recorded. Fixed in 1.6.0.
Timeline
- 14-03-2022PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
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
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
74.61%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
0.00 pp
From 74.61% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (wpscan.com)
Maturity: unknown
WordPress Photo Gallery Plugin SQL Injection (CVE-2022-0169)
auxiliary/gather/wp_photo_gallery_sqli
Maturity: poc
Weaknesses
CWE · root causeAffected systems
10web1 product
- photo_gallery< 1.6.0
Unknown1 product
- photo gallery by 10web – mobile-friendly image gallery≥ 1.6.0, < 1.6.0
Wordpress1 product
- photo-gallery< 1.6.0
3 vendors · 3 products
References
3 links- wpscan.com/vulnerability/0b4d870f-eab8-4544-91f8-9c5f0538709cX Refsource MISCExploitThird Party Advisory
- plugins.trac.wordpress.org/changeset/2672822/photo-galleryX Refsource CONFIRMPatchRelease NotesThird Party Advisory