CVE-2026-54829

WP Photo Album Plus <= 9.1.13.005 - Unauthenticated SQL Injection

highImproper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
7.5
CVSS Score
7.5
CVSS Score
high
Severity
9.2.01.001
Patched in
7d
Time to patch

Description

The WP Photo Album Plus plugin for WordPress is vulnerable to SQL Injection in versions up to, and including, 9.1.13.005 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
High
Confidentiality
None
Integrity
None
Availability

Technical Details

Affected versions<=9.1.13.005
PublishedJune 17, 2026
Last updatedJune 23, 2026
Affected pluginwp-photo-album-plus

What Changed in the Fix

Changes introduced in v9.2.01.001

Loading patch diff...

Source Code

WordPress.org SVN
Research Plan
Unverified

# WP Photo Album Plus <= 9.1.13.005 - Unauthenticated SQL Injection Research Plan ## 1. Vulnerability Summary The **WP Photo Album Plus** plugin for WordPress is vulnerable to **Unauthenticated SQL Injection** in versions up to and including **9.1.13.005**. The vulnerability exists because the plug…

Show full research plan

WP Photo Album Plus <= 9.1.13.005 - Unauthenticated SQL Injection Research Plan

1. Vulnerability Summary

The WP Photo Album Plus plugin for WordPress is vulnerable to Unauthenticated SQL Injection in versions up to and including 9.1.13.005. The vulnerability exists because the plugin handles user-supplied parameters in AJAX actions via the wppa_ajax_callback function and incorporates them into SQL queries without sufficient escaping or using $wpdb->prepare(). Specifically, the plugin uses a custom wrapper wppa_get_results() which, in many instances, is called with raw SQL strings built via concatenation.

2. Attack Vector Analysis

  • Endpoint: /wp-admin/admin-ajax.php
  • WordPress Action: wppa (Registered for both wp_ajax_ and wp_ajax_nopriv_)
  • Plugin Action (sub-action): Determined by the wppa-action (or sometimes action) parameter. Likely candidates for unauthenticated injection are search, photo-list, or get-album-list.
  • Vulnerable Parameter: wppa-album, wppa-photo, wppa-searchstring, or wppa-occur.
  • Authentication: Not required (Unauthenticated).
  • Preconditions: Plugin version <= 9.1.13.005 must be active.

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.