CVE-2022-1281Photo Gallery SQL Injection
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.
Published May 2, 2022 · Updated Nov 21, 2024 · Also known as 5d22435f-f0e3-42c3-935b-d26bb1ea846a, WORDFENCE-5d22435f-f0e3-42c3-935b-d26bb1ea846a
Key Facts
Patch immediately- CVE-2022-1281 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Photo Gallery (10web), Photo Gallery by 10Web – Mobile-Friendly Image Gallery.
- It is exploited in the wild, listed in Industry KEV feed since May 4, 2026. No public exploit code is known.
- EPSS estimates a 43% probability of exploitation in the next 30 days.
- Fixed versions are available, including Photo Gallery <=1.6.3, Photo Gallery 1.6.3, Photo Gallery by 10Web – Mobile-Friendly Image Gallery 1.6.3*.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
43%
Higher than 98.7% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
56/100
Publication score, see How it works
Exploitation Verdict
KEV listed
May 4, 2026
1463 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
2
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.wordfence.com/threat-intel/vulnerabilities/id/5d22435f-f0e3-42c3-935b-d26bb1ea846a?source=api-prod
- advisoryhttps://www.wordfence.com/threat-intel/vulnerabilities/id/5d22435f-f0e3-42c3-935b-d26bb1ea846a?source=api-scan
- patchhttps://plugins.trac.wordpress.org/changeset/2706797/photo-gallery/trunk/frontend/models/BWGModelGalleryBox.php?old=2587758&old_path=photo-gallery%2Ftrunk%2Ffrontend%2Fmodels%2FBWGModelGalleryBox.php
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | May 4, 2026 | n/a | Not reported |
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Photo Gallery10web | See advisory | 1.6.3 |
| Photo Gallery by 10Web – Mobile-Friendly Image Gallery | >= 1.6.3 | 1.6.3* |
Patched Releases
Photo Gallery
<=1.6.3, 1.6.3
Photo Gallery by 10Web – Mobile-Friendly Image Gallery
1.6.3*
Timeline
Publicly disclosed
May 2, 2022
Last updated
Nov 21, 2024
Added to Industry KEV feed
May 4, 2026
Weakness Type
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
FAQ
Common Questions.
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: Photo Gallery (10web); Photo Gallery by 10Web – Mobile-Friendly Image Gallery versions >= 1.6.3. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since May 4, 2026.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Photo Gallery <=1.6.3, Photo Gallery 1.6.3, Photo Gallery by 10Web – Mobile-Friendly Image Gallery 1.6.3*.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2022-1281 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo