CVE-2022-1281
Photo Gallery < 1.6.3 - Unauthenticated SQL Injection
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.
Exploitation
EPSS 43.3%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.7% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Unknown
|
affected from 1.6.3, before 1.6.3* (unaffected from 1.6.3)
|
Is my server affected?
This CVE is in a product, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Advisories
- 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 plugins.trac.wordpress.org
Other references
Source: the record CVE-2022-1281 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse