LiveActive security incident?Get immediate response
CVE Record

CVE-2022-47588: WordPress Simple Photo Gallery Plugin <= v1.8.1 is vulnerable to SQL Injection

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Tips and Tricks HQ, Peter Petreski Simple Photo Gallery simple-photo-gallery allows SQL Injection.This issue affects Simple Photo Gallery: from n/a through v1.8.1.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

This CVE affects the WordPress Simple Photo Gallery plugin up to version 1.8.1. The reported flaw is SQL injection, which can let an unauthenticated attacker interfere with the site database. For a public WordPress site, that can mean data exposure, content tampering, or service disruption.

Executive priority

Treat this as urgent for any public WordPress site using the plugin. Prioritize same-day inventory and containment because the reported flaw can affect database confidentiality, integrity, and availability without authentication.

Technical view

CVE-2022-47588 is CWE-89 in Tips and Tricks HQ/Peter Petreski Simple Photo Gallery, package simple-photo-gallery, through v1.8.1. The CVSS 3.1 score is 9.8 with network attack vector, low complexity, no privileges, no user interaction, unchanged scope, and high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is limited to WordPress sites that have Simple Photo Gallery installed at version 1.8.1 or earlier. The bundle does not provide CPEs, install counts, vulnerable endpoint details, or a named fixed version.

Exploitation context

The source bundle does not show CISA KEV listing or cite active exploitation. However, the vulnerability is unauthenticated, network-reachable SQL injection with critical CVSS impact, so internet-facing WordPress sites should be prioritized.

Researcher notes

Public evidence in the bundle is sparse. The CVE identifies SQL injection and an affected range through v1.8.1, but does not include exploit mechanics, fixed-version details, or confirmed exploitation. Avoid assumptions beyond the CVE and Patchstack entry.

Mitigation direction

  • Inventory WordPress sites for the Simple Photo Gallery plugin.
  • Check installed plugin versions against version 1.8.1 or earlier.
  • Review Patchstack and vendor guidance for fixed versions or official remediation.
  • Disable or remove the plugin where no safe update path is available.
  • Increase monitoring for database errors and unusual WordPress requests.

Validation and detection

  • Confirm whether simple-photo-gallery is installed on each WordPress property.
  • Record the installed version and compare it with the affected range.
  • Verify whether vendor or Patchstack guidance identifies a fixed release.
  • Review logs for suspicious activity without attempting exploitation.
  • Document business owners and remediation status for affected sites.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-47588 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2022-47588Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Tips and Tricks HQ, Peter PetreskiSimple Photo Gallerysimple-photo-gallery, n/aunaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.