What’s Vulnerable › Vulnerabilities
CVE-2022-1281: Photo Gallery < 1.6.3 - Unauthenticated SQL Injection
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 43.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-05-02 · updated 2026-06-17
- Weakness: CWE-89
Description
The Photo Gallery WordPress plugin through 1.6.3 does not properly escape the $_POST['filter_tag'] parameter, which is appended to an SQL query, making SQL Injection attacks possible.
Affected products
- 10web Photo Gallery by 10Web – Mobile-Friendly Image Gallery: through 1.6.3
References
- https://plugins.trac.wordpress.org/changeset/2706797/photo-gallery/trunk/frontend/models/BWGModelGalleryBox.php?old=2587758&old_path=photo-gallery%2Ftrunk%2Ffrontend%2Fmodels%2FBWGModelGalleryBox.php
- https://wpscan.com/vulnerability/2b4866f2-f511-41c6-8135-cf1e0263d8de
- https://plugins.trac.wordpress.org/changeset/2706797/photo-gallery/trunk/frontend/models/BWGModelGalleryBox.php?old=2587758&old_path=photo-gallery%2Ftrunk%2Ffrontend%2Fmodels%2FBWGModelGalleryBox.php
- https://wpscan.com/vulnerability/2b4866f2-f511-41c6-8135-cf1e0263d8de
Get alerted when CVE-2022-1281 or the next vulnerability affects your stack