# CVE-2022-1281: Photo Gallery < 1.6.3 - Unauthenticated SQL Injection

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 43.4%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-02T16:05:57.000Z
- Modified: 2026-06-17T04:22:08.673Z
- Weaknesses: CWE-89
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown Photo Gallery by 10Web – Mobile-Friendly Image Gallery: from 1.6.3 before 1.6.3*
- 10web photo_gallery: up to 1.6.3

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://wpscan.com/vulnerability/2b4866f2-f511-41c6-8135-cf1e0263d8de> (exploit, third-party-advisory)
- <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> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-1281](https://www.cve.org/CVERecord?id=CVE-2022-1281), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2022-1281](https://nvd.nist.gov/vuln/detail/CVE-2022-1281), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-1281 · Whole record: https://cve.day/CVE-2022-1281.json · Rebuilt by cve.day 2026-11-25T22:58:11.342Z
