AI, Development & Tech News

Hidden WordPress plugin loads foreign code into your visitors' browsers

261125 wordpress malicious plugin foreign code cover image
Skip to table of contents
Contents 4 sections
  1. How does the foreign code reach your visitors?
  2. How do you recognize an infection?
  3. What this means for you
  4. Sources

The security firm Wordfence describes malware that nests itself on websites as a WordPress plugin with a made-up name. In every browser that opens the page without logging in, the plugin loads code from a foreign server.

Wordfence came across it while cleaning up two infected websites, in January and in September 2026. The firm does not say how many sites are affected in total. It assumes that attackers install the plugin via a hijacked administrator account.

How does the foreign code reach your visitors?

Directories, files and functions of the plugin are named, for example, trijavascriptly, ultravueal or maxdataic-quaddatasion. A generator assembles these names from a beginning segment, a technology word and an ending segment, and uses them to build a complete pseudo-plugin including stylesheets and images. Around two thirds of each file consist of filler code that conceals the actual logic.

How the code reaches your visitors
Sequence according to Wordfence, applies to visitors without login
  1. Visitor opens any page
  2. Visitor receives an ID and cookie for five minutes
  3. Browser queries an address on your own domain
  4. Plugin fetches code from the attackers' server
  5. Browser executes the code
Source: Wordfence

According to Wordfence's analysis, every visitor without a login first receives an ID along with a cookie that is valid for five minutes. The browser then calls an address under /wp-json/ on your own domain, and the plugin fetches the code in the background from the attackers' server. Content Security Policy rules, browser extensions and lists of known malicious sites therefore only see traffic with the site's own domain.

Logged-in users are deliberately left out, because, according to Wordfence's assumption, this keeps administrators from discovering the plugin.

Which code ends up with the visitor is determined solely by the attackers' server. Wordfence lists possible consequences including ad fraud, redirects to malicious sites, fake update notices, malicious code that steals cryptocurrencies, fake input windows and keyloggers. Wordfence did not find any database queries or file accesses in the plugin code.

How do you recognize an infection?

The plugin hides itself from the plugin list in the dashboard, so a look there is not enough. Instead, use FTP or a file manager to check the wp-content/plugins folder for directories you never installed. Wordfence names these characteristics as indicators:

  • Folder names such as platformist-quadendpointer, framework-triappment or laravel-janet, plus files with eight random characters such as 5auul2bn.php
  • All files in the plugin folder have the same modification time, accurate to the second
  • The REST namespace under /wp-json/ consists of the plugin name, six random characters and /v1
  • In the server's access log, a page request is followed by two POST requests from the same IP address, first to admin-ajax.php, then to the plugin address under /wp-json/
  • In the error log there are folder names with an appended -1

The plugin also contains a backdoor that logs attackers in as any user via an address with two parameters and a password hard-coded in the code. As long as the plugin is in the folder, neither new passwords nor two-factor authentication protect against this access.

What this means for you

It is best to open the wp-content/plugins folder today and look for directories you don't recognize. If you find a suspicious directory, first bring in your hosting provider and delete the plugin. Only then do you renew the passwords of all administrators and check whether there are accounts among them that you never created.

You can prevent the installation of new plugins in the dashboard by setting the constant DISALLOW_FILE_MODS to true in wp-config.php. According to the WordPress documentation, it disables installation and updating of plugins and themes in the dashboard. You then apply updates yourself on the server.

Wordfence itself gives November 15, 2026 as the date from which the scanner will detect the plugin in the free version; paying customers already received the detection patterns on October 16. If Wordfence is installed on your site, it is best to start a full scan. Wordfence itself sells security products, but the verification steps described do not require a plugin.

The backdoors in the six WP-connect plugins were stopped by WordPress.org at the beginning of the week, before they reached websites.

Wordfence published the analysis on November 24, 2026.

Sources

Comments

Register and comment.

Continue reading

You might also like

View all articles →