Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated HTTP request to REST API endpoint
-
ExploitAppend gravitysmtp-settings query parameter
-
ExecutionTrigger register_connector_data() method
-
ImpactRetrieve 365 KB System Report JSON containing sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires Gravity SMTP plugin for WordPress versions up to 2.1.4 installed and activated. No authentication needed. Attacker makes unauthenticated HTTP GET request to /wp-json/gravitysmtp/v1/tests/mock-data?page=gravitysmtp-settings endpoint. |
| Impact | Real-world risk is HIGH despite the vulnerability requiring no exploitation sophistication. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) indicates network-accessible, low-complexity attacks requiring no privileges or user interaction, scoring 7.5 due to high confidentiality impact. While no public exploit code exists and CISA KEV does not list this CVE as actively exploited, the attack is trivially automatable-attackers need only send HTTP GET requests to a predictable endpoint on WordPress sites running the plugin. The exposed System Report provides reconnaissance data ideal for multi-stage attacks: database server versions inform SQL injection attempts, plugin/theme inventories reveal additional vulnerable components, and leaked API keys/tokens enable immediate account compromise in connected third-party services (email providers, analytics platforms). The absence of authentication barriers makes mass scanning campaigns viable. Organizations using Gravity SMTP should treat this as an urgent patch priority, particularly if the plugin stores credentials for production email infrastructure. |
| Exploit ScenarioDerived | An attacker uses automated scanners to identify WordPress sites running the Gravity SMTP plugin by probing /wp-json/gravitysmtp/v1/tests/mock-data?page=gravitysmtp-settings across thousands of targets. Upon successful response, the attacker receives a 365 KB JSON payload containing the victim's PHP configuration, MySQL database version, complete plugin inventory, and SMTP API credentials for services like SendGrid or Mailgun. Using these stolen API keys, the attacker launches phishing campaigns through the victim's legitimate email infrastructure, leveraging the trusted domain reputation to bypass spam filters. Simultaneously, the exposed plugin versions reveal outdated components with known RCE vulnerabilities, enabling the attacker to escalate from information disclosure to full server compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Sensitive system configuration data exposure in Gravity SMTP for WordPress (all versions ≤2.1.4) allows unauthenticated remote attackers to retrieve comprehensive server information via an unsecured REST API endpoint. The /wp-json/gravitysmtp/v1/tests/mock-data endpoint lacks authentication controls, exposing ~365 KB of JSON containing PHP version, database credentials structure, WordPress configuration, plugin/theme inventories, and configured API keys/tokens. EPSS data not provided; no confirmed active exploitation (CISA KEV) or public exploit code identified at time of analysis, though the attack vector is trivial (CVSS AV:N/AC:L/PR:N).
RemediationAI
Update Gravity SMTP to the latest patched version immediately by accessing WordPress admin dashboard → Plugins → Installed Plugins, locating Gravity SMTP, and clicking Update. The official changelog at https://docs.gravitysmtp.com/gravity-smtp-changelog/ should list fixed versions (consult post-2.1.4 releases). If automatic updates are disabled, download the latest version from the WordPress plugin repository and manually replace the /wp-content/plugins/gravitysmtp/ directory. Until patching, implement a temporary workaround by blocking external access to /wp-json/gravitysmtp/v1/tests/mock-data via web server configuration (Apache .htaccess or Nginx location blocks) or a WordPress security plugin with REST API filtering capabilities. After updating, immediately rotate any API keys or SMTP credentials that were configured in the plugin prior to patching, as they may have been exposed. Review web server access logs for requests to /wp-json/gravitysmtp/v1/tests/mock-data?page=gravitysmtp-settings to identify potential prior exploitation. Additional technical details available in Wordfence Threat Intelligence report at https://www.wordfence.com/threat-intel/vulnerabilities/id/12a296db-ecc0-409b-8718-0c208504053a?source=cve.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) stems from improper access control in WordPress REST API endpoint registration. The Gravity SMTP plugin registers a diagnostic endpoint at /wp-json/gravitysmtp/v1/tests/mock-data with a permission_callback that unconditionally returns true, bypassing WordPress's authentication framework. When invoked with the query parameter ?page=gravitysmtp-settings, the register_connector_data() method in class-config-collection-service-provider.php populates and returns the plugin's complete System Report. This report aggregates environment metadata intended for internal diagnostics but exposed through the public REST API. The affected product (CPE: cpe:2.3:a:rocketgenius:gravity_smtp:*:*:*:*:*:*:*:*) is a WordPress plugin written in PHP that manages SMTP email delivery configurations, making API credential exposure particularly critical for attackers conducting reconnaissance or lateral movement.
Know when Gravity Smtp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
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.
Executive ViewAI
Gravity SMTP for WordPress versions 2.1.4 and below expose sensitive server configuration data-including database credentials, API keys, and plugin inventories-through an unauthenticated REST API endpoint accessible to any remote attacker. This vulnerability eliminates a critical layer of defense against reconnaissance attacks and credential compromise, directly increasing risk of subsequent data breaches and system compromise across all affected WordPress installations.
Until vendor patch is released: (1) Restrict unauthenticated access to all /wp-json/ endpoints using web application firewall rules or HTTP authentication; (2) Disable REST API entirely if not required via WordPress configuration (define('REST_API_ENABLED', false)); (3) Implement network-level filtering to block external access to affected WordPress instances; (4) immediately rotate all exposed credentials (database passwords, API keys, tokens) in the returned JSON output; (5) monitor access logs for GET requests to /wp-json/gravitysmtp/v1/tests/mock-data and investigate any hits.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-17277
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB