XOOMAR
Cyberattack on a website server exposing secret keys through an unsecured API endpoint
CybersecurityJune 19, 2026· 5 min read· By XOOMAR Insights Team

17M Attacks Hammer Gravity SMTP Vulnerability on WordPress

Share
Updated on June 19, 2026

More than 17 million exploit attempts have targeted the Gravity SMTP vulnerability, an unauthenticated information disclosure flaw in a WordPress plugin active on 100,000 sites.

XOOMAR Intelligence

Analyst Take

58/ 100
Moderate
4 sources analyzedLow confidenceTrend10Freshness99Source Trust88Factual Grounding94Signal Cluster20

The bug, tracked as CVE-2026-4020, affects Gravity SMTP 2.1.4 and older and was fixed in version 2.1.5, released on March 17, according to BleepingComputer. WordPress security firm Defiant says attackers are actively exploiting it, while its Wordfence firewall has blocked the bulk exploitation wave against protected customers.

Hackers target Gravity SMTP vulnerability exposing WordPress site data

The Gravity SMTP vulnerability is rated medium severity, but the rating understates the operational risk for site owners. Attackers don’t need a WordPress account. They can send an unauthenticated GET request to an exposed REST API endpoint and receive a detailed plugin-generated System Report.

The vulnerable endpoint is:

/wp-json/gravitysmtp/v1/tests/mock-data

Researchers say requests are especially suspicious when they include:

?page=gravitysmtp-settings

That query parameter can trigger the plugin to return a large JSON report. Additional technical analysis cited in the source material says the response can be roughly 365 KB, depending on the site and plugin configuration.

The issue stems from a faulty permission_callback that always returns true. In practical terms, the endpoint treats unauthenticated visitors as if they’re allowed to see data that should be restricted.

The exposed information may include:

  • API keys, secrets, and OAuth tokens for configured email integrations
  • Credentials for third-party email services, including Amazon SES, Google, Mailjet, Resend, and Zoho
  • WordPress configuration details, including installed plugins, themes, and software versions
  • Server and PHP environment information
  • Database configuration details, including server version and table names

Wordfence researchers warned that exposure of live third-party API credentials could let attackers abuse connected email services, while the detailed system report can lower the effort needed to plan further attacks against the site.

That’s the core danger. This isn’t just a leak of boring diagnostics. If live mail credentials are present, the attacker may be able to abuse legitimate email services tied to the victim’s site.


A public REST endpoint turns diagnostics into reconnaissance

Gravity SMTP helps WordPress sites send mail through external email providers. That means it often sits near sensitive configuration data for transactional messages, contact forms, account emails, and other site communications.

The vulnerable code path exposed a system report. For defenders, that report is a troubleshooting artifact. For attackers, it’s a map.

Exposed data Why it matters
Email API keys and OAuth tokens May let attackers abuse connected sending services
SMTP or third-party mail credentials Can expose the site’s sender infrastructure
Active plugins and versions Helps attackers identify follow-on targets
PHP, server, and database details Narrows reconnaissance for later attacks
Database table names Gives attackers more context for site structure

CVE-2026-4020 is classified as CWE-200, exposure of sensitive information to an unauthorized actor, according to the supplied technical context. The attack vector is network-based and requires no privileges or user interaction.

That matters because the vulnerable path is predictable. Attackers can scan for WordPress sites running Gravity SMTP and probe the endpoint directly. If the site is still on 2.1.4 or older, and the conditions are present, the endpoint can leak configuration data before the site owner sees any visible sign of compromise.

XOOMAR has tracked other security stories where exposed credentials or trusted software channels created outsized risk, including 74,000 Fortinet Logins Spill in FortiBleed Data Leak and Paid ShapedPlugin Updates Smuggle Malware Into WordPress. The common lesson for administrators is narrow but practical: secrets inside infrastructure tools should be treated as production assets, not settings-page clutter.

17 million blocked attempts put WordPress admins under pressure

Wordfence says exploitation activity spiked on June 7, when it blocked 4 million requests in a single day. Similar activity continued for several days afterward.

That scale points to automated exploitation, not one-off probing. The Gravity SMTP vulnerability is easy to test for, and the endpoint path gives defenders a clear log artifact to hunt.

Administrators should check web server access logs for requests to:

/wp-json/gravitysmtp/v1/tests/mock-data

Requests that also include ?page=gravitysmtp-settings deserve special attention. The source material identifies that pattern as a key indicator of compromise.

If suspicious requests appear, site owners should assume any data exposed through the Gravity SMTP system report may have been accessed. That means reviewing and rotating potentially exposed SMTP credentials, API keys, OAuth tokens, and related email-service secrets.

The immediate fix is clear: update Gravity SMTP to version 2.1.5 or later. Wordfence also listed prolific source IP addresses for exploit requests, which administrators can add to blocklists. But static IP blocking is not enough by itself, since the reliable detection signal is the endpoint path and request pattern.


Avada Builder warning shows WordPress plugin risk is stacking up

The Gravity SMTP campaign landed as Wordfence issued a separate advisory about CVE-2026-8713, a critical unauthenticated arbitrary file-deletion flaw in the Avada Builder WordPress plugin, used on one million sites.

That flaw is different. It involves a path traversal issue and can allow attackers to delete arbitrary files if a published Avada form is configured to save submissions to the database. Deleting critical files such as wp-config.php can revert a site to its initial setup state, potentially leading to full site takeover and remote code execution.

Wordfence says it has not observed active exploitation of CVE-2026-8713 yet. The recommended Avada Builder upgrade target is version 3.15.4.

For Gravity SMTP, the watch item is narrower and more urgent: whether the exploitation wave continues to find unpatched 2.1.4 and older installations. Admins should patch, inspect logs for the endpoint, and rotate exposed mail credentials where access is suspected. If attackers already pulled the system report, updating the plugin closes the hole, but it doesn’t make leaked secrets private again.

Impact Analysis

  • Attackers can access sensitive WordPress and email integration data without logging in.
  • More than 17 million exploit attempts show the bug is being targeted at scale.
  • Site owners running Gravity SMTP 2.1.4 or older should update to 2.1.5 immediately.

Gravity SMTP Vulnerability Status

ItemVulnerableFixed/Safer
Gravity SMTP version2.1.4 and older2.1.5
Release statusAffected by CVE-2026-4020Patched on March 17
Access requirementUnauthenticated REST API request can expose dataEndpoint permission issue fixed

Gravity SMTP Exploitation Scale

Exploit attempts
count17,000,000
Active sites using plugin
count100,000
XOOMAR

Written by

XOOMAR Insights Team

Research and Editorial Desk

The XOOMAR Insights Team pairs automated research with human editorial judgment. We track hundreds of sources across technology, fintech, trading, SaaS, and cybersecurity, cross-check the facts, and explain what happened, why it matters, and what to watch next. We do not just rewrite headlines. Every article is fact-checked and scored for reliability before it goes live, and we link back to the original sources so you can verify anything yourself.

Related Articles

Wooden tiles spelling 'phishing' highlight cybersecurity themes.Cybersecurity

Attackers Hijack Email AI for CEO Fraud Heists

New research simulates how attackers hijack a compromised user's sanctioned email AI assistant to run reconnaissance, hide alerts, and craft executive impersona

Aug 4, 20265 min
Two AI agents clash as a red data stream breaches a shielded software repository environment.Cybersecurity

Prompt Injection Turns Google ADK Agents Against Each Other

A poisoned pull request showed how Google ADK agents can cross privilege boundaries, turning repo text into an attack channel.

Aug 3, 20267 min
AI chat records leaking from a digital vault into a dark data grid with broken privacy shields and locks.Cybersecurity

Google Exposed Claude Chats Users Thought Were Private

Shared Claude chats were indexed by Google, exposing sensitive transcripts and forcing Anthropic to confront a messy privacy gap.

Jul 28, 20267 min
AI chip protected by a glowing cybersecurity alliance network, with closed labs in the distance.Cybersecurity

Nvidia AI Security Alliance Leaves OpenAI Off Roster

Nvidia's 37-member AI security push puts open tools against closed labs, with OpenAI, Anthropic and Google missing from the launch.

Jul 27, 20267 min
AI email security shield blocking phishing attacks in a dark digital network.Cybersecurity

AI Phishing Threat Sends $36M Into AegisAI's Agents

AegisAI raised $36M to push autonomous inbox agents against AI-crafted phishing, bringing total funding to $49M.

Jul 24, 20266 min
Smartphone with Google Pay on laptop for online shopping convenience.Fintech

Google Wallet Creates Parent-Controlled Money Pools for Kids

Google Wallet now lets U.S. parents set up a secure, supervised balance for kids under 18, offering a middle ground between cash and a traditional debit card to

Aug 6, 20267 min
A smartphone displaying an ecommerce site with a credit card, set on a wooden surface, depicting online shopping.Fintech

Google Wallet Turns Kids' Phones Into Allowance Trackers

Google Wallet now lets U.S. parents fund and control a child's spending balance, locking it down instantly and setting daily limits on their device.

Aug 6, 20266 min
A stylish workspace with visible cables, laptop and monitor, highlighting modern technology's complexity.Technology

Google Shakes Top AI Leadership as OpenAI Rivalry Intensifies

Google's leadership shakeup removes key AI research leaders, signaling a chaotic corporate pivot towards aggressive product shipping to rival OpenAI and Anthrop

Aug 6, 20267 min
Two people working on blue laptops at a round table, focusing on teamwork and technology.Technology

How Her's AI Dream Stalled in Consumer Apathy

Despite billions in investment and inspiration from the movie 'Her,' mainstream consumers aren't adopting AI agents, viewing them as unreliable solutions to pro

Aug 6, 20267 min
Close-up of wireless earbuds and case on a laptop, highlighting modern tech usage.Technology

AirPods Pro Plunge to $189 in Rare $60 Sale

The AirPods Pro have dropped to $189.99, their lowest price since June, in a coordinated sale across Amazon, Walmart, and Best Buy signaling a final pre-holiday

Aug 6, 20266 min

Don't miss the signal

Get our weekly roundup of the stories that matter across tech, fintech, and trading. No noise, just signal.

Free forever. No spam. Unsubscribe anytime.