CVE-2026-6394
Deferred Deferred - Pending Action
Server-Side Request Forgery in Nexa Blocks WordPress Plugin

Publication date: 2026-05-20

Last updated on: 2026-05-20

Assigner: Wordfence

Description
The Nexa Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE plugin for WordPress is vulnerable to Server-Side Request Forgery (SSRF) in versions up to and including 1.1.1. This is due to the import_demo() function accepting a user-supplied URL in the demo_json_file POST parameter and passing it directly to wp_remote_get() without any URL validation or restriction against internal or private network destinations. The nexa_blocks_nonce required for the AJAX action is publicly exposed in the HTML source of any frontend page where the plugin is active via wp_localize_script on the enqueue_block_assets hook, effectively making the nonce available to all visitors and bypassing any intended authentication barrier. This makes it possible for unauthenticated attackers to make server-side HTTP requests to arbitrary internal or external destinations, potentially exposing internal services, cloud metadata endpoints such as the AWS instance metadata service, localhost services, and other resources not intended to be publicly accessible. A secondary SSRF vector also exists whereby image URLs extracted from the attacker-controlled JSON response are subsequently fetched via a second wp_remote_get() call, allowing chained exploitation through a crafted JSON payload.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-20
Last Modified
2026-05-20
Generated
2026-06-09
AI Q&A
2026-05-20
EPSS Evaluated
2026-06-08
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
nexa_blocks nexa_blocks to 1.1.1 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

The Nexa Blocks plugin for WordPress is vulnerable to Server-Side Request Forgery (SSRF) in versions up to and including 1.1.1. This happens because the import_demo() function accepts a user-supplied URL through the demo_json_file POST parameter and uses it directly in a server-side HTTP request without validating or restricting the URL. Additionally, a security nonce intended to protect this action is publicly exposed on the frontend, allowing unauthenticated attackers to exploit this vulnerability.

As a result, attackers can make the server send HTTP requests to arbitrary internal or external destinations, including internal services, cloud metadata endpoints like AWS instance metadata, localhost services, and other resources that should not be publicly accessible. There is also a secondary SSRF vector where image URLs from the attacker-controlled JSON response are fetched by the server, enabling chained exploitation.

Impact Analysis

This vulnerability can allow unauthenticated attackers to make the server perform HTTP requests to internal or external systems that are normally inaccessible. This can lead to exposure of sensitive internal services, cloud metadata endpoints, and other protected resources.

Such unauthorized access can result in information disclosure, potential further exploitation of internal systems, and compromise of the server's security posture.

Compliance Impact

The vulnerability allows unauthenticated attackers to make server-side HTTP requests to internal or external destinations, potentially exposing sensitive internal services and cloud metadata endpoints. This exposure could lead to unauthorized access to sensitive data or systems.

Such unauthorized access and potential data exposure may impact compliance with standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive information from unauthorized access or disclosure.

However, the provided context does not explicitly discuss or analyze the compliance implications of this vulnerability with respect to these standards.

Detection Guidance

Detection of this SSRF vulnerability involves monitoring for unusual or unauthorized HTTP requests originating from the WordPress server, especially those targeting internal or private network destinations.

Since the vulnerability exploits the import_demo() function via the demo_json_file POST parameter, inspecting HTTP POST requests to the plugin's AJAX endpoint for suspicious URLs can help identify exploitation attempts.

Commands to assist detection might include:

  • Using web server logs (e.g., Apache or Nginx) to search for POST requests containing 'demo_json_file' parameters with internal IP addresses or unusual URLs.
  • Example grep command on access logs: grep 'demo_json_file' /var/log/apache2/access.log | grep -E '127\.0\.0\.1|localhost|169\.254\.169\.254|10\.|172\.(1[6-9]|2[0-9]|3[0-1])\.|192\.168\.'
  • Monitoring outgoing HTTP requests from the server using tools like tcpdump or Wireshark to detect unexpected requests to internal or cloud metadata IPs.
  • Example tcpdump command: tcpdump -i eth0 dst net 169.254.169.254 or dst net 10.0.0.0/8 or dst net 192.168.0.0/16
Mitigation Strategies

Immediate mitigation steps include:

  • Update the Nexa Blocks plugin to a version later than 1.1.1 where the vulnerability is fixed.
  • If an update is not immediately possible, disable or deactivate the Nexa Blocks plugin to prevent exploitation.
  • Restrict access to the WordPress AJAX endpoints by implementing firewall rules or web application firewall (WAF) rules to block unauthorized POST requests to the import_demo() function.
  • Monitor and audit server logs for suspicious activity related to the demo_json_file parameter.
  • Consider network segmentation or firewall rules to limit the WordPress server's ability to make HTTP requests to internal or sensitive network resources.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-6394. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart