Every CVE Search/ Get API key

CVE-2022-1281

Photo Gallery < 1.6.3 - Unauthenticated SQL Injection

9.8 Critical

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

43.4%Up 42.5 points since May 3, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2022-1281
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-89
Updated
2026-11-02
CVE List No score

Photo Gallery < 1.6.3 - Unauthenticated 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.

Record
CVE-2022-1281
Weakness
CWE-89
Updated
2026-11-02
EUVDEUVD-2022-24612 No score

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.

Record
EUVD-2022-24612
Updated
2026-11-03
GitHub AdvisoriesGHSA-cxph-v45w-r6xc 9.8

The Photo Gallery WordPress plugin through 1.6.3 does not properly escape the $_POST['filter_tag'...

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.

Record
GHSA-cxph-v45w-r6xc
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-89
Updated
2026-11-02

Affected products

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
NucleiPhoto Gallery WordPress v1.6.3 - SQL Injection

History

History
RecordedChangedSources
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, Nuclei, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-1281 is a critical vulnerability (CVSS 9.8) in 10web Photo Gallery, published May 2, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 43.4%, the 98th percentile. No source names a fixed version.

References

MoveEnter Open