Description
The Gravity SMTP plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 2.1.4. This is due to a REST API endpoint registered at /wp-json/gravitysmtp/v1/tests/mock-data with a permission_callback that unconditionally returns true, allowing any unauthenticated visitor to access it. When the ?page=gravitysmtp-settings query parameter is appended, the plugin's register_connector_data() method populates internal connector data, causing the endpoint to return approximately 365 KB of JSON containing the full System Report. This makes it possible for unauthenticated attackers to retrieve detailed system configuration data including PHP version, loaded extensions, web server version, document root path, database server type and version, WordPress version, all active plugins with versions, active theme, WordPress configuration details, database table names, and any API keys/tokens configured in the plugin.
Published: 2026-03-31
Score: 7.5 High
EPSS: 39.7% Moderate
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Gravity SMTP plugin for WordPress contains a REST API endpoint at /wp-json/gravitysmtp/v1/tests/mock-data that always allows requests to succeed regardless of authentication. When the query parameter ?page=gravitysmtp-settings is included, the endpoint generates a large System Report built from internal connector data, returning approximately 365 KB of JSON. This report includes PHP version, loaded extensions, web server information, database server type and version, WordPress core and plugin versions, active theme, configuration details, database table names, and any API keys or tokens configured in the plugin, thereby exposing sensitive configuration and credential data. This flaw is classified as CWE‑200 Information Exposure.

Affected Systems

WordPress sites that have the Gravity SMTP plugin version 2.1.4 or earlier installed are impacted. The vulnerability applies to all builds distributed by RocketGenius up to and including 2.1.4.

Risk and Exploitability

The CVSS score of 7.5 classifies the vulnerability as high severity, and the EPSS score of 40% indicates a relatively high probability of exploitation. Because the endpoint is publicly reachable without any authentication, an attacker can retrieve the full system report with a simple HTTP GET request, making exploitation trivial and potentially exposing a wealth of credential and configuration information. The vulnerability is not listed in the CISA KEV catalog.

Generated by OpenCVE AI on June 24, 2026 at 13:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Gravity SMTP plugin to the latest official release provided by RocketGenius, following the vendor’s documentation.
  • If an update is not immediately available, disable the Gravity SMTP plugin entirely or use a web‑application firewall or security plugin to block access to the /wp-json/gravitysmtp/v1/tests/mock-data endpoint.
  • After applying a fix, rotate any API keys or tokens that may have been exposed and monitor web server logs for repeated attempts to access the vulnerable endpoint, blocking offending IPs as necessary.

Generated by OpenCVE AI on June 24, 2026 at 13:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 03 Apr 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Rocketgenius
Rocketgenius gravity Smtp
Wordpress
Wordpress wordpress
Vendors & Products Rocketgenius
Rocketgenius gravity Smtp
Wordpress
Wordpress wordpress

Thu, 02 Apr 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 31 Mar 2026 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 31 Mar 2026 03:00:00 +0000

Type Values Removed Values Added
Description The Gravity SMTP plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 2.1.4. This is due to a REST API endpoint registered at /wp-json/gravitysmtp/v1/tests/mock-data with a permission_callback that unconditionally returns true, allowing any unauthenticated visitor to access it. When the ?page=gravitysmtp-settings query parameter is appended, the plugin's register_connector_data() method populates internal connector data, causing the endpoint to return approximately 365 KB of JSON containing the full System Report. This makes it possible for unauthenticated attackers to retrieve detailed system configuration data including PHP version, loaded extensions, web server version, document root path, database server type and version, WordPress version, all active plugins with versions, active theme, WordPress configuration details, database table names, and any API keys/tokens configured in the plugin.
Title Gravity SMTP <= 2.1.4 - Unauthenticated Sensitive Information Exposure via REST API
Weaknesses CWE-200
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Subscriptions

Rocketgenius Gravity Smtp
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:36:27.623Z

Reserved: 2026-03-11T19:55:54.999Z

Link: CVE-2026-4020

cve-icon Vulnrichment

Updated: 2026-03-31T15:30:47.296Z

cve-icon NVD

Status : Deferred

Published: 2026-03-31T02:15:59.487

Modified: 2026-06-17T10:55:52.033

Link: CVE-2026-4020

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T13:30:06Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor