CVE-2026-4020

Published: Mar 31, 2026 Last Modified: Mar 31, 2026
ExploitDB:
Other exploit source:
Google Dorks:
HIGH 7,5
Attack Vector: network
Attack Complexity: low
Privileges Required: none
User Interaction: none
Scope: unchanged
Confidentiality: high
Integrity: none
Availability: none

Description

AI Translation Available

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.

200

Exposure of Sensitive Information to an Unauthorized Actor

Draft
Common Consequences
Security Scopes Affected:
Confidentiality
Potential Impacts:
Read Application Data
Applicable Platforms
Technologies: Mobile, Not Technology-Specific, Web Based
View CWE Details
https://docs.gravitysmtp.com/gravity-smtp-changelog/
https://plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/vendor/gravit…
https://plugins.trac.wordpress.org/browser/gravitysmtp/tags/2.1.4/vendor/gravit…
https://plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/gravityform…
https://plugins.trac.wordpress.org/browser/gravitysmtp/trunk/vendor/gravityform…
https://www.gravityforms.com/gravity-smtp/
https://www.wordfence.com/threat-intel/vulnerabilities/id/12a296db-ecc0-409b-87…