CVE-2025-22317 HIGH

CVE-2025-22317: WordPress Gallery Images Ape plugin <= 2.2.8 - Reflected Cross Site Scripting (XSS) vulnerability

Vendor Gallery Ape
Product Photo Gallery – Image Gallery by Ape
Weakness CWE-79 · XSS
Published January 15, 2025
Last update April 28, 2026

CVSS base score

7.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

What the vulnerability does

01Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Gallery Ape Photo Gallery – Image Gallery by Ape gallery-images-ape allows Reflected XSS.This issue affects Photo Gallery – Image Gallery by Ape: from n/a through <= 2.2.8.

Explanation of Vulnerability in Simple Terms

02Summary

Photo Gallery – Image Gallery by Ape versions 2.2.8 and earlier contain a cross-site scripting (XSS) vulnerability. An attacker can inject malicious scripts that execute in visitors' browsers when they view gallery content. The vulnerability requires user interaction—a victim must visit a page containing the injected payload. Successful exploitation can lead to session hijacking, credential theft, or malware distribution.

What an attacker can do

03Attacker Capabilities

Inject and execute malicious JavaScript in visitors' browsers to steal session cookies, credentials, or redirect users to phishing sites.

Potential impact on your site

04Site Impact

Visitors to your gallery may have their sessions hijacked, credentials stolen, or be redirected to malicious sites without your knowledge.

Conditions required to exploit

05Prerequisites

No authentication required. Attacker must craft a malicious gallery URL or content, and a victim must visit the affected page.

Key dates

06Disclosure timeline

January 15, 2025 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE