Security
Nulled WordPress Themes: What's Actually Inside the Free Copy
Nulled WordPress themes are premium themes with the license check cut out, passed around for free on download sites. The license check isn't the only thing that changes. In the copies security researchers have taken apart, something was usually added in its place.
I'm not here to scold anyone. A premium theme license is real money for a new business, and the download site looked professional. But if you know what's actually inside these zips, the free version stops looking like a bargain. So here's a gentle tour of what researchers keep finding, how to check a theme you've already installed, and what to do if it's bad news.
If you already suspect a nulled theme or plugin let someone in, you can tell me what's going on in a short questionnaire. I reply with a plan and a fixed quote within one business day.
Are nulled WordPress themes safe?
Short answer: you can't know, and that's the problem.
Google's own guide to how sites get hacked says it plainly: "It's a common tactic for attackers to add malicious code to free versions of paid plugins or themes." The WordPress.org hardening guide says the same thing in fewer words: "Do not get plugins/themes from untrusted sources."
Some nulled copies are probably clean. But you'd have to read every file to find out, and the bad ones are built specifically so you won't notice.
There's also a quieter risk. Even a clean nulled theme never gets updates. Patchstack's State of WordPress Security in 2026 counted 11,334 new vulnerabilities (security holes) in the WordPress ecosystem in 2025, 91% of them in plugins. When the real vendor patches a hole, the nulled copy stays open.
"But isn't WordPress code GPL?"
Fair question. WordPress.org's license page says plugins and themes are derivative works that "inherit the GPL license," though it admits there's "some legal grey area." So redistributing the PHP code of a GPL theme isn't automatically piracy.
That debate misses the point, though. The license question is about whether the copy is legal. The security question is about who touched it. A nulled zip comes from a stranger who already edited the code once, for reasons they didn't explain.
What's inside nulled WordPress themes: 4 patterns
These come from published malware write-ups, not guesses. I've kept the code examples harmless and simplified, so you can recognize the shape without running anything.
1. The loader line
The classic is a family of malware called WP-VCD. Sucuri found it pre-installed in nulled premium themes. A line at the top of the theme's functions.php (the file every theme loads on every page) quietly includes a second file, class.theme-modules.php. That second file installs the malware and creates the rest of the malicious files.
The shape looks roughly like this:
<?php
// Illustration only: the shape of a loader line, not working malware.
// A theme's functions.php normally loads its own files by clear names.
// This pattern loads a file that wasn't in the vendor's original zip.
if ( file_exists( dirname( __FILE__ ) . '/class.theme-modules.php' ) ) {
include_once dirname( __FILE__ ) . '/class.theme-modules.php';
}One detail I love from that write-up: in the downloaded zip, those two files had a different, more recent date than every other file. Malware is sloppy sometimes. That's a free clue.
2. The admin you didn't create
WP-VCD also created a rogue administrator account. Sucuri's write-up names it: a user called 100010010. An extra admin means the attacker can log in like you, through the front door, even after you delete the theme.
So after any nulled theme or plugin, look at Users > All Users, filter by Administrator, and question every name. (Newer malware can hide accounts from that screen, which is why I also check the database directly during a cleanup.)
3. The plugin that survives deletion
This one is clever. In 2020, Sucuri documented pirated plugins bundled with a backdoor that copied itself into the mu-plugins folder. Must-use plugins (plugins WordPress loads automatically, which don't appear as normal plugins you can switch off) run on every page.
The backdoor's job was to log the attacker in as one of your administrators. And here's the part that matters: deleting the nulled plugin "does not remove everything," as Sucuri put it. The must-use copy stays behind.
4. The phone-home webshell
In 2023, Sucuri's team downloaded a theme from a top Google result for "free nulled WordPress themes" and took it apart. A file called inc/class-appside.php held a heavily obfuscated (deliberately scrambled) backdoor. It was a webshell, a hidden control panel for the attacker, that could:
- switch off popular WordPress security plugins
- infect other files on the server
- send your database login details from
wp-config.phpto a remote server
That last one is the worst. With your database password, an attacker doesn't need your site at all. They can talk to the database directly.
How to check a nulled theme or plugin you already installed
Here's the honest version: these checks catch the clumsy cases. A careful attacker can beat all of them. If a nulled theme has been live on your site for months, treat the site as compromised and clean it properly.
Still, a quick look tells you a lot:
- Get a genuine copy. Buy the real theme, or download the free version from the vendor, and compare file lists.
- Diff the folders. Unzip both copies on your computer or server, then compare them:
# Read-only: lists files that differ or exist in only one copy.
# Expect some noise from version differences. Every extra .php file deserves a look.
diff -rq ./theme-genuine ./theme-nulled- Search for obfuscated code inside the nulled copy:
# Read-only: flags PHP files that decode and run hidden code. Some false positives are normal.
grep -rlE --include='*.php' 'eval\s*\(|base64_decode\s*\(|gzinflate\s*\(' ./theme-nulled- Check must-use plugins. Open
wp-content/mu-plugins/. Most small business sites have nothing there, or one or two files your host added. Anything you can't explain is a lead. - Check admin users, as above.
One limit worth knowing. WordPress's checksum tool, wp plugin verify-checksums, compares plugin files against official copies from WordPress.org. Premium themes and plugins aren't hosted there, so they can't be checked that way. For premium code, the diff against a genuine copy is your checksum.
If the grep finds something like eval(base64_decode(, my guide to reading eval(base64_decode) safely shows how to see what it does without running it.
What to do if your theme turns out to be nulled
Don't panic, and don't just delete the theme. As patterns 2 and 3 show, deleting the source doesn't remove what it already installed.
Here's the order I'd follow:
- Back up the site as it is, infected copy included.
- Replace the nulled theme or plugin with a genuine licensed copy or a free alternative from WordPress.org.
- Clean as if you were hacked, because you probably were. That means checking users, must-use plugins, uploads, the database and the hosting account. My walkthrough for cleaning up a hacked WordPress install has the full order.
- Change every password: WordPress admins, hosting, SFTP, and the database. Pattern 4 means the database password may already be out there.
- Watch for re-infection. Backdoors from nulled code are a common reason malware returns after a cleanup.
Vlad's take
I get the appeal. A theme demo looks great, the price feels steep for a site that hasn't made money yet, and the download site has a nice logo.
But the math doesn't work. A genuine premium license usually costs less than a single malware cleanup, and it comes with updates. If the budget is tight, a well-maintained free theme from WordPress.org is a perfectly good choice. Plenty of solid small business sites run on one.
And if you'd rather have someone keep updates, licenses and backups on a schedule, that's what my WordPress care plan is for.
Final thoughts
A nulled theme isn't free. It's paid for later, usually with a cleanup, sometimes with a database password in a stranger's inbox. If you've already got one installed, compare it to a genuine copy, check your admins and must-use plugins, and plan a proper cleanup if anything looks off.
If you'd like a second pair of eyes, here's how my WordPress malware cleanup works, or you can just ask me to take a look. Standard cleanups start at $350, and I'll tell you honestly whether it needs one.
Nulled WordPress themes FAQs
Are nulled themes safe to use?
Not in any way you can rely on. Google's own hacked-site guidance says attackers commonly add malicious code to free versions of paid themes and plugins. Some nulled copies may be clean, but you'd need to read every file to know, and malicious ones are built to hide. Even a clean copy never receives security updates, so it gets less safe every month it stays installed.
Do nulled plugins always contain malware?
No, not always. Not every cracked plugin carries a backdoor. The trouble is that you can't tell which ones do without a careful code review, and the backdoors researchers have found are designed to survive the plugin being deleted. Given what a cleanup costs, a genuine license or a free alternative is the cheaper bet.
How can I tell if my theme is nulled?
Check where it came from. If you didn't buy it from the theme's own vendor or a marketplace you trust, or a freelancer installed it without passing you a license key, assume it might be nulled. Signs include no license field or update notice in the dashboard, extra PHP files compared with the vendor's copy, and files with dates that don't match the rest of the theme.
I deleted the nulled theme. Am I safe now?
Probably not yet. Known nulled-code malware creates hidden admin accounts, copies itself into the must-use plugins folder, or sends your database password elsewhere. None of that disappears when you delete the theme. Check your admin users and the mu-plugins folder, change every password including the database, and scan or clean the whole site and hosting account.
Is using nulled software illegal?
That depends on the product and where you are, and I'm not a lawyer. WordPress.org's position is that themes and plugins inherit the GPL, which allows redistribution of the code, but many premium products also include images, fonts or services under other terms. Legal or not, the security risk is the same. The person who nulled it changed the code, and you can't see why.
Want a second pair of eyes on your site?
Tell me what's going on in the hacked website repair questionnaire. I reply with a plan and a fixed quote within one business day.