CVE-2026-4020CWE-200

Gravity SMTP <= 2.1.4 - Unauthenticated Sensitive Information Exposure via REST API

High · published March 31, 2026

CVSS v3.1
7.5
EPSS
2%
Percentile
82.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.02236 · 82.7th percentile
Weakness
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor
Published
2026-03-31T01:24Z
EPSS history
Timeline
  • 25 SEP 03:26Z
    EPSS moved 40% → 2%
    epss
  • 31 MAR 01:24Z
    Gravity SMTP <= 2.1.4 - Unauthenticated Sensitive Information Exposure via REST API
    cvelistv5