CVE-2022-1281 in the critical feed json
Photo Gallery < 1.6.3 - Unauthenticated SQL Injection
published 2022-05-02 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-24612
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 43.4%
- EPSS 43.4% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- Unknown Photo Gallery by 10Web – Mobile-Friendly Image Gallery 1.6.3
Exploit prediction
43.35% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Photo Gallery WordPress v1.6.3 - SQL Injection nuclei detection template
- wpscan.com https://wpscan.com/vulnerability/2b4866f2-f511-41c6-8135-cf1e0263d8de referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- Unknown Photo Gallery by 10Web – Mobile-Friendly Image Gallery
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
- Technology feeds
References
-
plugins.trac.wordpress.org
/changeset/2706797/photo-gallery/trunk/frontend/models/BWGModelGalleryBox.php?old=2587758&old_path=photo-galle
patch, third-party-advisory
-
wpscan.com
/vulnerability/2b4866f2-f511-41c6-8135-cf1e0263d8de
exploit, third-party-advisory
Sources
- CVE List CVE-2022-1281
- NVD CVE-2022-1281
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.