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-12800 Overview
The WP Shortcodes Plugin — Shortcodes Ultimate for WordPress contains a Server-Side Request Forgery (SSRF) vulnerability in the su_shortcode_csv_table function. The flaw affects all versions up to and including 7.4.5. Authenticated attackers with Administrator-level access can trigger web requests to arbitrary destinations from the WordPress server. When the plugin's Unsafe features option is explicitly enabled, Contributor-level users and above can also exploit the issue. The vulnerability is tracked under CWE-918: Server-Side Request Forgery.
Critical Impact
Attackers can pivot through the WordPress host to query internal services, read cloud metadata endpoints, and interact with resources that are otherwise unreachable from the public internet.
Affected Products
- WP Shortcodes Plugin — Shortcodes Ultimate for WordPress, versions up to and including 7.4.5
- WordPress sites that have enabled the plugin's Unsafe features option (expanded exposure)
- WordPress installations where untrusted Contributor-level accounts exist alongside enabled unsafe features
Discovery Timeline
- 2025-11-23 - CVE-2025-12800 published to NVD
- 2026-10-08 - Last updated in NVD database
Technical Details for CVE-2025-12800
Vulnerability Analysis
The vulnerability resides in the su_shortcode_csv_table function, which processes a shortcode that fetches CSV content from a user-supplied URL. The function does not restrict the target of the outbound HTTP request, allowing arbitrary destinations including internal IP ranges, loopback addresses, and cloud instance metadata services.
SSRF in this context lets an attacker use the WordPress server as a request proxy. Internal services that trust requests originating from the server perimeter become reachable. Impact spans information disclosure from internal HTTP endpoints and potential modification of state on services that honor GET-based actions.
By default, exploitation requires Administrator privileges, which limits abuse to compromised or malicious admin accounts. When the Unsafe features option is enabled, the privilege barrier drops to Contributor, significantly widening the attack surface on multi-author sites.
Root Cause
The plugin accepts a remote URL parameter for the CSV table shortcode and performs a server-side fetch without validating the destination host, scheme, or address class. Missing allowlist enforcement and no filtering of private, link-local, or metadata IP ranges enable the SSRF condition.
Attack Vector
Exploitation requires an authenticated session. An attacker with eligible privileges inserts the vulnerable shortcode into post or page content, specifying an internal URL as the data source. When the shortcode renders, the WordPress server issues the outbound request and the response content may be reflected or processed in the rendered output.
The vulnerability manifests when the su_shortcode_csv_table handler executes the remote fetch. Review the WordPress plugin changeset and the Wordfence Vulnerability Analysis for implementation specifics.
Detection Methods for CVE-2025-12800
Indicators of Compromise
- Outbound HTTP requests from the WordPress host to internal IP ranges such as 127.0.0.1, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or cloud metadata endpoints like 169.254.169.254
- Post or page content containing CSV table shortcodes referencing non-public URLs
- Unexpected wp-cron or request logs showing fetches originating from the PHP process to internal services
Detection Strategies
- Inspect the wp_posts table for shortcode patterns tied to the CSV table feature with URL attributes pointing to private address space
- Monitor web server and PHP outbound connection telemetry for anomalous destinations following authenticated editor activity
- Enable WordPress audit logging to correlate post edits by Contributor or higher accounts with subsequent outbound requests
Monitoring Recommendations
- Alert on egress traffic from WordPress nodes to cloud metadata IPs and RFC1918 ranges that bypass intended network segmentation
- Track administrative changes to the plugin's Unsafe features option and flag enablement events for review
- Review user role assignments regularly and alert on new Contributor or higher account creation
How to Mitigate CVE-2025-12800
Immediate Actions Required
- Update the Shortcodes Ultimate plugin to a version later than 7.4.5 that contains the fix referenced in changeset 3397946
- Disable the Unsafe features option unless there is a documented business requirement
- Audit existing posts and pages for use of the CSV table shortcode with external or internal URLs
Patch Information
The fix is published in the plugin repository under changeset 3397946. Site operators should apply the update through the WordPress plugin management interface or by deploying the patched release directly. Verify the installed version is greater than 7.4.5 after upgrade.
Workarounds
- Restrict Administrator account access and enforce multi-factor authentication to reduce abuse of privileged roles
- Keep the Unsafe features toggle disabled to maintain the higher privilege barrier for shortcode-based requests
- Enforce egress filtering at the network layer to block outbound requests from the WordPress host to cloud metadata services and private subnets
- Remove or quarantine the plugin on sites where patching cannot be performed immediately
# Example egress block for cloud metadata endpoint (Linux iptables)
iptables -A OUTPUT -d 169.254.169.254 -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

