No search results were found in Documentation!
Hi Simion,
Thank you for pointing out the exact location.
I opened the homepage in TagDiv Composer and removed the malicious script as well as the entire Raw HTML element from the top row, then saved the page.
However, when I run the Sucuri scanner again, it still throws the “Warning: Malware Detected” alert.
Is it possible that TagDiv Composer’s internal cache / compiled page cache is still serving the old version of the homepage, or is there another place within the composer/theme options where this needs to be cleared?
Best regards,
Mladen
Thank you Simon. I have just sent a screenshot by email to show you what I see:
The text (name of the author) shows on the title of the article (meaning texts both are one under the other).
As I have cleaned the website from the malware and still have this issue, I’m wondering why I see this article page like this.
What’s strange is that it only happens when I select Emma (a newly added author) as an author. If I select other authors, I don’t have this issue. I have already deleted Emma from the user database and we created again her profile, but the issue is still here.
In the meantime I’ve got confirmation from Wordfence and WPScan that they acknowledged the issue was fixed:
https://wpscan.com/vulnerability/601ad8e7-0ebf-4726-bfcf-b27b9d109137/
Maybe your website has been infected with malware. Updating the theme won’t fix it. Please test the website with the Sucuri live scanner -> https://sitecheck.sucuri.net/
If it detects malware, then I strongly recommend to immediately install the Wordfence plugin -> https://wordpress.org/plugins/wordfence/ and scan the website with it as soon as possible -> https://www.wordfence.com/help/scan/ if you haven’t already.
Could you provide a link to the website?
Hi Team,
I have cleaned the website from the malware and normally there should be none. Still I still see the name of the author not in the author box but on the article space .. Do we know why?
Thanks.
Lamiaa
While it might just be a vulnerability rather than a malware infection, ESET Antivirus continues to block access to my website.
The update will be available tomorrow, first thing. The package is almost ready.
@ferhatakbas
Is the website infected with malware? What files are being modified/infected because of the XSS issue exactly? Please install wordfence and scan the website if there are such issues.
This vulnerability from the composer is related specifically to the simplified button element -> https://prnt.sc/gvSvPHoOk3iV While this is a medium level vulnerability, even if the button is used in a page, there is very little risk of a website getting infected with malware because of it. I won’t get into more details about how it can be exploited, but again, the chances are very low. If your website is actually infected with malware, restoring backups won’t fix it, neither will updating the theme. Please use a security plugin like wordfence and scan the website’s files in and outside of the wordpress installation.
Thank you!
Hi,
It’s a false positive most likely. I’ve downloaded the theme package from themeforest and scanned the composer with virus total, it’s in order -> https://prnt.sc/4iIOjqaTh7AZ I also scanned it locally with Bitdefender, it’s also in order. So it’s safe to say that the composer as provided in the theme package poses no threat.
Maybe the website itself is infected with malware. To know for sure you could test your website with this online scanner from Sucuri -> https://sitecheck.sucuri.net/ Or install the Wordfence plugin and scan the website files with it.
Thank you!
Hi,
I clicked on the link and I see the post -> https://prnt.sc/urWTz4CH2COD I checked several other posts, from various authors, they seem fine so far.
Seeing something other than the actual post is very unusual, even suspicious if it’s a casino page. If there are redirects to other websites, then this kind of behavior is usually related to malware.
If I check in the page source, I see a suspicious script right before the closing body tag -> https://prnt.sc/xxrhq_w8gWjz And If I test the site with an online malware scanner which is very reliable, it says that there is malware on the site -> https://sitecheck.sucuri.net/results/https/www.captainforest.com/whites-saviorism-in-international-development-the-colonial-roots-of-modern-aid/
My suggestion is to immediately install the Wordfence plugin -> https://wordpress.org/plugins/wordfence/ It only requires a free license in order to use it. Then use the scan option from it -> https://www.wordfence.com/help/scan/ It should find any suspicious code or files. Please try it as soon as possible.
Thank you!
Hi,
If the website is hacked, malware can be added in pretty much any files from the website folder.
I checked the website on mobile and its still redirecting for me sometimes, I ended up on some kind of gaming website now https://prnt.sc/47GPJdHZKhtM It could be this script that loads in the head https://prnt.sc/WqC6eIHRNWDD I can’t find much about it online, or do you maybe know what that is?
Have you tried running wordfence and scanning the website with it? https://www.wordfence.com/help/scan/ Be sure to scan files outside of the wordpress installation as well, the option is in the scan settings. Wordfence should find any extra files, modified files, suspicious code, etc.
Or if your truly found the source of the malware, then maybe it’s just caching. Clearing all the caches and purging the cloudflare cache should be done again.
Thank you!
Hello tagDiv Team and Community,
I wanted to report a severe, obfuscated malware infection targeting the Newspaper theme ecosystem that I recently diagnosed and cleaned. The malware specifically targets mobile users while executing stealth tactics to hide from logged-in administrators.
Here are the technical details of the exploit to help the security team and other users:
1. The Behavior:
Mobile visitors loading the site are immediately hit with a 302 Redirect chain. The network analysis showed the site calling a rogue script masquerading as an ad network: [https://async.gsyndication.com/](https://async.gsyndication.com/). This script then loads a Yandex tracking tag ([https://mc.yandex.ru/metrika/tag.js](https://mc.yandex.ru/metrika/tag.js)), which triggers the final destination spam redirect (e.g., varors.com).
2. The Entry Point / Core Infection:
The script dynamically prepends an obfuscated PHP code block to the very top of wp-config.php using an eval(base64_decode(…)) string. When decoded, the script explicitly avoids injecting the malicious payload if the request URI contains paths like /wp-admin/, /wp-json, or wp-login.php, effectively hiding the redirect from site admins.
3. The Active Backdoor Location:
After cleaning wp-config.php, the file was repeatedly re-infected. Running a server-side file modification search (find . -mtime -2 -type f) isolated the live backdoor execution directly inside the td-mobile-plugin directory.
Files inside wp-content/plugins/td-mobile-plugin/ (specifically Mobile_Detect.php and custom code panel handlers) had been compromised and modified by the attacker to act as a persistent script injector. Every time a mobile user-agent touched the site, the plugin dynamically rewrote wp-config.php to maintain persistence.
How it was resolved:
Completely deleted the compromised td-mobile-plugin directory from the server.
Cleaned the wp-config.php file and stripped the eval block.
Implemented define( ‘DISALLOW_FILE_MODS’, true ); and hardened server file permissions (chmod 440 on config).
Please look into how the automated bots are injecting code into the td-mobile-plugin directories, and let this serve as a warning to other webmasters to check their mobile plugin files if they experience ghost redirects!
My website, news360.info, is currently experiencing significant speed issues. After upgrading to a new server, I carried out a full malware scan and removed detected threats, which initially improved performance. However, the site has since become slow again despite further optimisation efforts on my end.
I would appreciate your expert review and guidance to help identify and resolve the underlying problem.
Thank you for your continued support.
Sorry for the late response.
You are coorect site was slow because of malware on server.
But I am facing one issue after upgrade of theme.
I have configured wp-super cache as per theme documentation but after doing any update in content it is not reflecting on site immediately.
Is there any issue after upgrade theme ? update tooks so much time to reflect on front end.
I purchased the Sucuri Security Platform Basic today (18/11/2025) for $229.00 per year, and it is reporting that the tagDiv Cloud Library has issues, as are the free versions of MalCare and Wordfence. All security-related plugins indicate that the tagDiv Cloud Library has a problem. As a result, my website is not functioning correctly. What else can I do? Also, users visiting the site are receiving warnings from their antivirus software stating that the site has an issue.
The website is hosted on a server by the company called Hetzner. Even from there (Hetzner), they are reporting that the website contains malware.
Hi,
We already did this. The Wordfence free version receives updates to the plugin software itself, but security updates for firewall rules and malware signatures are delayed by 30 days compared to the Premium version. https://wordpress.org/plugins/wordfence/ – https://i.imgur.com/V5Pqwry.png
Yes, the version of you plugin is safe.
The Wordfence free version receives updates to the plugin software itself, but security updates for firewall rules and malware signatures are delayed by 30 days compared to the Premium version. https://wordpress.org/plugins/wordfence/ – https://i.imgur.com/V5Pqwry.png
Hello,
My apologies on the late reply. The problem with tagdiv Composer persists. There is nothing in the Cloud Library, and if I try to edit the current template Header Template, it ends up in Error 500 throughout the website after a few tries.
My host is saying it could be malware within your template? They said they saw some ‘unrecognized’ scripts running, and when they disabled them, the site came back up. They are running a scan now.
Something is off and I am hoping for your help.
I will send you email to contact@tagdiv.com with access you requested, and I am hoping for your help.
My service provider has notified me that I have these vulnerabilities on my site.
Could you provide an update?
Thank you.
wp-content/plugins/td-composer/legacy/common/common.php {HEX}Malware.Expert.php.base64.decode.UNOFFICIAL
wp-content/plugins/js_composer/assets/lib/vendor/node_modules/bootstrap3/dist/js/bootstrap.min.js SecuriteInfo.com.End-Of-Life-found-in-Bootstrap.UNOFFICIAL
These codes are coming from the /td-composer/legacy/common/common.php
common.php php.base64.decode
common.php php.base64.decode
common.php php.base64.decode
I think i have found the issue, after reinstalling multiple times, changing php versions, i discovered that CpGuard is deleting this file, see the details below:
common.php Virus File {HEX}Malware.Expert.php.base64.decode QUARANTINED
VIRUS DETAIL
#ID170583
File Name common.php
Original Path /home/euromedi/public_html/pirok.mk/wp-content/plugins/td-composer/legacy/common/common.php
Reason
Definition
Time 2025-09-16 00:41:45
Quarantine Path/etc/cpguard/quarantine/1605452187-common.php
File Size14008 bytes
Status Quarantined
Hello,
The code you mentioned is not inherently malware, but some security tools may flag it as potentially risky. Specifically, the pattern unserialize(base64_decode(file_get_contents())) can be exploited if attackers gain control of $file_path. It is considered safe only when $file_path is fully trusted and properly validated otherwise, it could be abused.
If you can provide additional context or details about how this code is used, we’d be happy to review further.
Thank you!
I updated to the latest version of the Newspaper theme on Friday and now I also have a malware.
-
This reply was modified 10 months by
The Villager.
My host is reporting that there is malware on my site at public_html/wp-content/plugins/td-composer/legacy/common/common.php, and the malware is php.base64.decode
I have looked at the code in a fresh download of td_composer and it has the following:
/**
* return the decoded demo file settings
*/
add_filter( ‘td_demo_installer’, function( $file_path ) {
//read the settings file
return unserialize(base64_decode(file_get_contents($file_path, true)));
});
function tdc_b64_decode( $val ) {
return base64_decode( $val );
}
function tdc_b64_encode( $val ) {
return base64_encode( $val );
}
In it. Is this problematic, can I remove it ?
Subject: URGENT: Security Breach on Website Using Newspaper Theme – Russian Betting Spam & Login Issues
Dear tagDiv Support Team,
I am reaching out regarding a critical and ongoing security issue affecting our WordPress website, which uses the Newspaper theme (version 12.7.1) purchased from ThemeForest.
🔐 Problem Description:
Our website — https://nishaanebaz.com/ — is under constant attack, with the following issues occurring:
Unauthorized posting of Russian betting content, likely injected by a bot or script.
Inability to log in to the WordPress admin dashboard, which may indicate privilege escalation or account hijacking.
These incidents have been happening every day since last week, severely affecting site integrity and user trust.
🖥️ Website and Hosting Details:
Website URL: https://nishaanebaz.com/
WordPress Version: 6.8.1
Newspaper Theme Version: 12.7.1
Hosting Provider: Hostinger
First Incident Date: Daily since approximately June 10, 2025
⚙️ Actions We’ve Taken:
Activated maintenance mode to limit further spam posting.
Reset admin password via phpMyAdmin.
Scanned files and database for known malware or spam injection.
Identified and removed unauthorized posts and suspicious users.
🚨 Request for Assistance:
We urgently request your support to:
Investigate any known vulnerabilities or exploitation paths in version 12.7.1 of the Newspaper theme.
Provide guidance, patches, or recommended security settings to harden the theme.
Confirm whether this issue has affected other customers or is specific to our setup.
Share any security best practices or plugin recommendations to prevent recurrence.
As a publicly accessible news platform, this is significantly impacting our publication’s reputation and operation.
We are happy to provide logs, access details, or screenshots upon request. Please treat this as a priority issue.
Hi, my website has been hacked, I’ve noticed this morning that one of my pages has a redirection to some strange website (or 502 bad gateway, as per Safari error message). I’ve read on another request that there was a vulnerability issue on Newspaper V12.7 and the last update V12.7.1 has fixed it. I didn’t have installed the last update yet, so I assume the malware could have come from that vulnerability.
My questions are :
– Do you recommend to clean it first or to update Newspaper to V12.7.1 ?
– To remove the malware, do you have any info that could help ?
– When such vulnerability is suspected, why don’t you send an emailing to all your contacts that bought your template to tell them to update quickly to the new version ?
Thank you.
Emma
Hi,
I’ve been using the Newsmag theme on my website, agakhanism.com, and it has recently been compromised with malware. My security advisor has informed me that the theme contain vulnerabilities, even though I’m using the most updated version available.
I’m very concerned about the risk of my website being hijacked due to this issue. It’s disappointing that a theme with such a high number of sales is not being properly maintained from a security standpoint.
Please look into this matter urgently. I need a solution as soon as possible to secure my website and prevent further issues.
Thank you.
Warning: Vulnerable tagDiv Theme Newsmag theme found at ./wp-content/themes/Newsmag/includes/tagdiv-config.php – Version: 5.4.3.3 – Please update this theme or switch it immediately: https://wpscan.com/vulnerability/038327d0-568f-4011-9b7e-3da39e8b6aea.
——————————–
Out of date software is the most common cause of website compromise. It’s highly recommended to get that updated as soon as you can.