BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2022-1281

CRITICAL 9.8 CVSS 3.1
Published
May 2, 2022
Last modified
June 17, 2026
NVD status
Modified
Reported by
contact@wpscan.com
Weakness
CWE-89
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Affected WordPress components

  • Photo Gallery by 10Web – Mobile-Friendly Image Gallery Plugin · photo-gallery
    Possible match Active
    From 1.6.3 (including) to 1.6.3* (excluding)
    View on WordPress.org
  • Photo Gallery Theme · photo-gallery
    Possible match Active
    From 1.6.3 (including) to 1.6.3* (excluding)
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • Unknown Photo Gallery by 10Web – Mobile-Friendly Image Gallery — From 1.6.3 (including) to 1.6.3* (excluding)
  • 10web photo_gallery — Up to and including 1.6.3

References

  • plugins.trac.wordpress.org 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
  • wpscan.com https://wpscan.com/vulnerability/2b4866f2-f511-41c6-8135-cf1e0263d8de Exploit, Third Party Advisory
  • nvd.nist.gov Official NVD record