Home » Security News » Malicious Code Found in GravityForms Plugin Update

Malicious Code Found in GravityForms Plugin Update

Malicious Code Found in GravityForms Plugin Update

Add Techlomedia as a preferred source on Google. Preferred Source

One of the most popular WordPress form plugins, GravityForms, has been hacked. Attackers managed to slip in malicious code through the plugin’s official download source. It affects version 2.9.12 of the plugin.

Security researchers at Patchstack discovered the issue on July 11, 2025, after spotting unusual traffic going to a shady domain — gravityapi.org. This domain was registered just a few days before the attack. This makes it clear that hackers planned everything well in advance.

The malware was embedded into the plugin and gave attackers full control over the infected websites. It allowed Remote Code Execution, Creation of fake admin accounts, Uploading of malicious files, Reading and deleting user data, and Persistent access, even after detection.

The hackers used two key functions in the plugin to carry out the attack: update_entry_detail() and list_sections().

The first function collects site info like the WordPress version, active plugins, and server details, and sent it to the attacker’s domain. The second function acts as a backdoor requiring a secret token to access. Once triggered, it gave attackers the ability to run custom PHP code, create admin accounts, Upload files, and maintain access quietly.

The plugin’s developer, RocketGenius, acted fast. They released a clean update (version 2.9.13) and removed the infected version from their servers. The malicious domain gravityapi.org was also taken down by Namecheap to prevent further damage.

If you are using GravityForms, update immediately to version 2.9.13 or higher. You should also scan your website for any strange PHP files or unauthorized admin accounts.

Follow Techlomedia on Google News to stay updated. Follow on Google News

Affiliate Disclosure:

This article may contain affiliate links. We may earn a commission on purchases made through these links at no extra cost to you.

Deepanker Verma

About the Author: Deepanker Verma

Deepanker Verma is the Founder and Editor-in-Chief of TechloMedia. He holds Engineering degree in Computer Science and has over 15 years of experience in the technology sector. Deepanker bridges the gap between complex engineering and consumer electronics. He is also a a known Security Researcher acknowledged by global giants including Apple, Microsoft, and eBay. He uses his technical background to rigorously test gadgets, focusing on performance, security, and long-term value.

Related Posts

Stay Updated with Techlomedia

Join our newsletter to receive the latest tech news, reviews, and guides directly in your inbox.