Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-22672 Overview
CVE-2025-22672 is a Server-Side Request Forgery (SSRF) vulnerability [CWE-918] in the SuitePlugins Video & Photo Gallery for Ultimate Member WordPress plugin. The flaw affects all versions of gallery-for-ultimate-member up to and including 1.1.2. An authenticated attacker with low privileges can coerce the vulnerable WordPress instance to issue HTTP requests to arbitrary destinations, including internal network resources normally unreachable from the public internet.
Critical Impact
Authenticated attackers can pivot through affected WordPress sites to reach internal services, cloud metadata endpoints, and other restricted network resources.
Affected Products
- SuitePlugins Video & Photo Gallery for Ultimate Member (plugin slug gallery-for-ultimate-member)
- All versions from initial release through 1.1.2
- WordPress installations running the vulnerable plugin with authenticated user access
Discovery Timeline
- 2025-03-27 - CVE-2025-22672 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-22672
Vulnerability Analysis
The vulnerability resides in the Video & Photo Gallery for Ultimate Member plugin's handling of URL parameters used to fetch remote media resources. The plugin accepts user-supplied URLs and issues server-side HTTP requests without adequate validation of the destination host. This behavior allows an authenticated attacker to redirect outbound requests to internal endpoints, bypassing perimeter controls that assume such destinations are unreachable from external clients.
Exploitation requires low-privilege authenticated access, and the attack complexity is elevated because the attacker must satisfy specific request-formatting conditions. The scope changes because the SSRF originates from the WordPress server but affects resources controlled by other components, such as cloud metadata services or internal APIs. Impact is limited to partial confidentiality and integrity exposure of the reachable backend systems.
Root Cause
The root cause is missing validation of user-controlled URLs before the plugin performs outbound HTTP requests. The plugin does not enforce an allowlist of external hosts, does not resolve and reject private or loopback IP ranges, and does not prevent redirects to internal targets. This aligns with CWE-918: Server-Side Request Forgery.
Attack Vector
An authenticated user submits a crafted request to a plugin endpoint that accepts a remote resource URL. The attacker sets the URL to an internal IP address, 127.0.0.1, a cloud metadata endpoint such as 169.254.169.254, or an internal service hostname. The WordPress server issues the outbound request under its own network identity. The response, or observable side effects such as timing, can reveal information about internal services or trigger unintended actions on those services.
For technical details, see the Patchstack SSRF Vulnerability Advisory.
Detection Methods for CVE-2025-22672
Indicators of Compromise
- Outbound HTTP requests from the WordPress web server to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) or loopback addresses.
- Requests to cloud instance metadata endpoints such as 169.254.169.254 originating from the WordPress PHP process.
- Unusual wp-admin or plugin AJAX requests containing URL parameters with non-standard schemes or private hostnames.
Detection Strategies
- Inspect WordPress access logs for authenticated requests to gallery-for-ultimate-member endpoints that include URL parameters referencing internal hosts.
- Correlate egress firewall logs with the PHP-FPM or web server process to identify unexpected internal destinations.
- Deploy web application firewall (WAF) rules that flag URL parameters resolving to private IP address space.
Monitoring Recommendations
- Alert on any outbound connections from the WordPress host to cloud metadata IPs or RFC1918 ranges.
- Monitor authenticated user activity for the plugin's REST or AJAX endpoints, focusing on subscriber-level accounts issuing gallery-related requests.
- Retain and review plugin-related HTTP request logs for at least 90 days to support retrospective hunting.
How to Mitigate CVE-2025-22672
Immediate Actions Required
- Identify all WordPress sites running Video & Photo Gallery for Ultimate Member version 1.1.2 or earlier.
- Restrict or disable the plugin until a fixed release is available and deployed.
- Enforce egress network controls so the WordPress server cannot reach cloud metadata endpoints or internal management interfaces.
Patch Information
At the time of NVD publication, the vulnerability affects versions up to and including 1.1.2, and no fixed version is identified in the advisory. Administrators should monitor the Patchstack advisory and the plugin vendor's channels for a patched release, and apply it as soon as it becomes available.
Workarounds
- Deactivate and remove the plugin from affected WordPress installations until a fixed version is published.
- Configure host-based firewall rules to block outbound connections from the web server to private IP ranges and 169.254.169.254.
- Require IMDSv2 with hop-limit restrictions on AWS EC2 instances to reduce the impact of metadata SSRF.
- Restrict WordPress user registration and audit existing low-privilege accounts to limit authenticated attack surface.
# Example iptables egress restrictions for the WordPress host
iptables -A OUTPUT -d 169.254.169.254 -j DROP
iptables -A OUTPUT -d 127.0.0.0/8 ! -o lo -j DROP
iptables -A OUTPUT -d 10.0.0.0/8 -j DROP
iptables -A OUTPUT -d 172.16.0.0/12 -j DROP
iptables -A OUTPUT -d 192.168.0.0/16 -j DROP
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

