Severity: HIGH
Description: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in pey22 T&P Gallery Slider allows Stored XSS. This issue affects T&P Gallery Slider: from n/a through 1.2.
CVSS Score: 7.1
B
No data available.
No data available.
1. Risk Assessment
The vulnerability, CVE-2025-32527, is a Stored Cross-site Scripting (XSS) flaw within the pey22 T&P Gallery Slider WordPress plugin, specifically versions up to and including 1.2. This means an attacker can inject malicious JavaScript code that will be stored on the server and executed when other users view the affected gallery. The CVSS score of 7.1 (HIGH) indicates a significant risk. While user interaction is required (UI:R), the attack vector is network accessible (AV:N) and the attack complexity is low (AC:L). This means a relatively simple attack can be launched with broad reach. The scope is changed (S:C), indicating the attacker can impact the context of the vulnerable web application. The impacts are rated as low for confidentiality (C:L), integrity (I:L), and availability (A:L). However, the low impacts are relative to the context of a WordPress site; successful exploitation could lead to session hijacking, website defacement, or redirection to malicious sites, impacting user trust and potentially leading to data compromise. The EPSS score of 0.002350000 suggests a relatively low, but still present, probability of exploitation in the wild.
2. Potential Attack Scenarios
An attacker could exploit this vulnerability by crafting a malicious payload within a gallery title, description, or other input field within the T&P Gallery Slider plugin. For example, an attacker could create a gallery and insert the following payload into a gallery title: <script>alert('XSS Vulnerability')</script>. When a user views this gallery, the JavaScript code will execute, displaying an alert box. This is a simple example; a more sophisticated attacker could inject code to steal cookies (session hijacking), redirect users to a phishing site, or deface the website. The attack vector is via the web, requiring a user to visit a page utilizing the vulnerable gallery. The attack process involves the attacker crafting the malicious payload, inserting it into a gallery element, and then having users view the affected gallery. The potential outcome is a compromised user session, website defacement, or redirection to a malicious website, potentially leading to data theft or malware infection.
3. Mitigation Recommendations
The primary mitigation for this vulnerability is to upgrade the T&P Gallery Slider plugin to a version greater than 1.2, ideally the latest available version. This will patch the improper input sanitization that allows the Stored XSS. Immediate action should be taken to update the plugin through the WordPress admin interface. For organizations using automated WordPress update systems, ensure the update is applied as quickly as possible. Additional mitigation steps include reviewing all galleries created with the plugin to identify any potentially malicious payloads that may have already been injected. Consider implementing a Web Application Firewall (WAF) with XSS protection capabilities as a secondary layer of defense. Refer to Patchstack’s analysis for more detailed information: https://patchstack.com/database/Wordpress/Plugin/tp-gallery-slider/vulnerability/wordpress-t-p-gallery-slider-plugin-1-2-stored-cross-site-scripting-xss-vulnerability?_s_id=cve.
4. Executive Summary
The pey22 T&P Gallery Slider WordPress plugin is vulnerable to a Stored Cross-Site Scripting (XSS) attack (CVE-2025-32527). This means an attacker can inject malicious code into the plugin’s galleries, which will execute when users view those galleries. While the impact is currently rated as low, a successful attack could lead to compromised user sessions, website defacement, or redirection to malicious sites, impacting user trust and potentially leading to data compromise. The vulnerability is relatively easy to exploit, requiring only a user to view a page with the vulnerable gallery. We recommend upgrading the T&P Gallery Slider plugin to the latest version (greater than 1.2) as soon as possible to mitigate this risk. This update is critical for maintaining the security of your WordPress website and protecting your users from potential attacks. Prompt action will minimize the risk of a successful exploitation and ensure continued business operations.