Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-12517

CVE-2026-12517: Fediverse Embeds WordPress SSRF Flaw

CVE-2026-12517 is a server-side request forgery vulnerability in the Fediverse Embeds WordPress plugin that allows attackers to request internal URLs. This article covers the technical details, affected versions, and mitigation.

Published:

CVE-2026-12517 Overview

CVE-2026-12517 is a Server-Side Request Forgery (SSRF) vulnerability in the Fediverse Embeds WordPress plugin before version 1.5.8. The plugin exposes an unauthenticated site-info endpoint that fetches remote URLs without validating the destination. The gating nonce is exposed on any public page carrying an embed, so anonymous users can reach the endpoint. Attackers coerce the WordPress server to issue HTTP requests to internal hosts and private-network addresses, then read back the parsed page metadata returned by the fetcher.

Critical Impact

Unauthenticated attackers can pivot through vulnerable WordPress sites to probe internal services, cloud metadata endpoints, and private-network resources, retrieving parsed response content.

Affected Products

  • Fediverse Embeds WordPress plugin versions prior to 1.5.8
  • WordPress sites embedding the plugin's public shortcode or block
  • Hosting environments where the WordPress server has network reachability to internal or cloud metadata services

Discovery Timeline

  • 2026-07-09 - CVE-2026-12517 published to NVD
  • 2026-07-09 - Last updated in NVD database

Technical Details for CVE-2026-12517

Vulnerability Analysis

The Fediverse Embeds plugin provides a site-info endpoint that retrieves metadata from remote URLs for use in embed previews. The endpoint accepts a URL parameter and issues a server-side HTTP request to fetch and parse the target page. The plugin does not validate the destination before dispatching the request. Attackers supply arbitrary URLs, including http://127.0.0.1, http://localhost, RFC 1918 addresses such as 10.0.0.0/8 and 192.168.0.0/16, and cloud metadata endpoints like http://169.254.169.254/. The server fetches the target and returns parsed metadata to the caller, enabling information disclosure about internal infrastructure.

Root Cause

The root cause is missing destination validation on a server-side fetch primitive [CWE-918]. The endpoint's authorization control relies on a nonce that is embedded in public pages containing an embed, defeating the gating mechanism. The fetcher accepts any scheme and host, does not resolve DNS to reject private ranges, and does not restrict responses that follow HTTP redirects to internal addresses.

Attack Vector

An unauthenticated attacker first retrieves a public page on the target WordPress site that carries a Fediverse embed to harvest the exposed nonce. The attacker then calls the site-info endpoint with a controlled URL parameter pointing at an internal resource. The WordPress server issues the outbound request and returns the parsed metadata, including title, description, and Open Graph fields, revealing content from services that should not be reachable externally. See the WPScan Vulnerability Report for technical details.

Detection Methods for CVE-2026-12517

Indicators of Compromise

  • Requests to the plugin's site-info REST endpoint containing url= parameters pointing at loopback, RFC 1918, or link-local addresses
  • WordPress wp-admin/admin-ajax.php or REST calls originating from unauthenticated sessions with a valid embed nonce
  • Outbound HTTP requests from the WordPress host to 169.254.169.254, internal DNS names, or cloud metadata services

Detection Strategies

  • Inspect web server access logs for repeated requests to the Fediverse Embeds site-info endpoint with variable url parameters
  • Correlate inbound plugin endpoint invocations with concurrent outbound connections from the PHP worker to private-network destinations
  • Alert on any WordPress-originated request to cloud instance metadata services or the .internal DNS suffix

Monitoring Recommendations

  • Enable egress logging on WordPress hosts and forward records to a central analytics platform for anomaly review
  • Baseline normal outbound destinations for the WordPress PHP process and alert on new internal targets
  • Track version inventory of installed WordPress plugins and flag any Fediverse Embeds installation below 1.5.8

How to Mitigate CVE-2026-12517

Immediate Actions Required

  • Update the Fediverse Embeds plugin to version 1.5.8 or later on all WordPress installations
  • Audit web and application logs for prior calls to the site-info endpoint referencing internal hosts
  • Rotate any credentials or tokens that may have been exposed through cloud metadata service access

Patch Information

The vendor released Fediverse Embeds 1.5.8, which introduces destination validation on the site-info endpoint. Administrators should upgrade through the WordPress plugin manager or by deploying the updated package from the official plugin repository. Refer to the WPScan Vulnerability Report for the fixed version reference.

Workarounds

  • Deactivate and remove the Fediverse Embeds plugin until the update to 1.5.8 can be deployed
  • Block egress from WordPress hosts to 169.254.169.254, loopback ranges, and RFC 1918 networks at the host firewall or cloud security group
  • Require IMDSv2 with hop limit of 1 on AWS EC2 instances hosting WordPress to defeat metadata SSRF retrieval
bash
# Example egress restriction using iptables on a WordPress host
iptables -A OUTPUT -m owner --uid-owner www-data -d 169.254.169.254 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 127.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 10.0.0.0/8 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 172.16.0.0/12 -j REJECT
iptables -A OUTPUT -m owner --uid-owner www-data -d 192.168.0.0/16 -j REJECT

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.