Guide

Google Search Console security issues warning

If Search Console just flagged “Security issues” on your own site and your pages started dropping out of Google search around the same time, that's not two unrelated problems — it's one. Here's what the report actually means, why indexing drops with it, and the exact order to fix both.

A “Security issues” warning in Google Search Console means Google’s automated systems found evidence that your site is serving hacked content, malware, or a deceptive page to visitors — and it’s common for pages to drop out of the index at the same time, because Google pulls back from crawling and ranking content it can’t vouch for. The two problems are connected but the fix is sequential, not simultaneous: locate and remove every compromised file or injection (Google only shows you a handful of sample URLs, not the full extent), close the vulnerability that let it in, then submit a review request inside Search Console. Indexing does not come back automatically the moment the malware is gone — Google has to re-crawl, confirm the fix, and manually clear the flag before rankings and visibility return.

What the Security Issues report is actually telling you

The Security Issues report in Search Console (Security & Manual Actions > Security Issues) isn’t a generic “something might be wrong” alert. It names a specific category, and each one means something different about what an attacker did to your site.

Hacked content

The most common flag, covering several distinct sub-patterns: URL injection (new spam pages you never wrote), code injection (malicious JavaScript or PHP added into your existing files), content injection (spam text or links inserted into your existing pages, often invisible via CSS), and the gibberish or cloaked-keyword hack, where attackers generate thousands of auto-translated spam pages targeting unrelated keywords — the Japanese keyword hack that hits WordPress sites is a well-documented example.

Malware and unwanted software

Google’s crawlers or Safe Browsing scanners found code that tries to do something to a visitor’s device or browser — a drive-by download, a malicious redirect chain, or a bundled unwanted-software installer. This is the category most likely to trigger the red “Dangerous site” interstitial in Chrome.

Deceptive pages (social engineering)

Phishing pages, fake login forms, fake tech-support-scam overlays, and fake download buttons. These are frequently injected on otherwise-legitimate sites as a single hidden page rather than a site-wide compromise, which is exactly why a sample-based check can miss them.

Two different reports, easy to confuse

Security Issues is generated automatically by Google’s crawling and Safe Browsing systems — no person reviewed your site. Manual Actions is the result of an actual human reviewer flagging a webspam violation. A site can have either, both, or neither, and clearing one has no effect on the other.

Why pages disappear from search results at the same time

Google pulls back from what it can’t vouch for

When Google’s systems find evidence a site is compromised, the response is often a reduction in crawling and a removal of the affected URLs from the index, because continuing to rank a page that might serve malware or a phishing form works against Google’s core job of sending searchers somewhere safe. This is a protective, automated response — but the effect on your traffic is identical to a penalty either way.

Safe Browsing warnings choke off traffic even on indexed pages

Google Safe Browsing (the same system behind Chrome’s red “Dangerous site” interstitial, also used by Firefox and Safari) can flag your domain independently. A visitor who finds your URL in search or types it directly can still hit a full-page browser warning, which is why total visits can crater faster than the indexing numbers alone suggest.

This is usually filtering, not a formal manual penalty

Most security-related deindexing happens without any manual action logged against your site at all. This matters practically: fixing the underlying compromise is necessary but, on its own, does not automatically flip pages back into the index. You still have to close the loop with a review request.

The right order of operations to fix both

Site owners in this exact spot usually try to fix things in a rush and out of order — patch one plugin, delete one spam page, then immediately request a review. That sequence fails often enough that it’s worth doing deliberately instead.

  • Step 1 — Read the actual report before touching anything. Note the exact issue type, sample URLs, and detection date.
  • Step 2 — Find every compromise point, not just the samples. Google shows examples, not an exhaustive list. Check file-modification timestamps, database entries, cron jobs, and admin user lists by hand.
  • Step 3 — Close the entry vector. Patch the vulnerable software, rotate every admin/API/database credential, remove any backdoor or unauthorized admin user.
  • Step 4 — Request a review in Search Console. Describe specifically what was found and fixed — vague descriptions slow the process down.
  • Step 5 — Expect gradual recovery. Once cleared, Google has to re-crawl affected pages before indexing and ranking fully return — not instantly.

Why a scanner alone often misses what caused this

Automated tools check signatures, not behavior

Most security scanners and plugin-based malware checkers compare files against known malicious signatures. That catches a lot of off-the-shelf infections, but structurally misses custom code written specifically for your site, content injected into the database rather than a file, and anything designed to behave differently depending on who’s requesting it.

Cloaked injections are built to fool exactly this kind of check

A redirect or spam page that only triggers for Googlebot’s user-agent string, or only for mobile visitors, will pass a normal browser check and a normal scanner pass — while still being exactly what got the site flagged. Finding these requires deliberately testing the site the way an attacker or Googlebot would encounter it.

When “not indexed” isn’t a security issue at all

Not every indexing problem traces back to Security Issues — if your report is clean but pages still aren’t indexed, the cause is almost always one of these instead.

A noindex tag or robots.txt block, often left over from staging

The single most common cause of unexpected non-indexing. Check the Page Indexing report and the URL Inspection tool — both will state this directly if it’s the cause.

Canonical tags pointing away from the page

If a page’s canonical tag points elsewhere, Google will generally index the canonical target instead, which shows up as “Alternate page with proper canonical tag” rather than anything alarming.

New sites and normal discovery delay

A newly launched site can simply be waiting on initial crawl and discovery — a timing issue, not a fault.

Server errors or slow response during crawl attempts

If Googlebot’s crawl attempts time out or hit 5xx errors, pages can silently fail to get crawled, which looks identical to “not indexed” from the outside but has a completely different fix.

Common questions

Is a Google security warning real?
Yes, if it’s inside your own Search Console account under the Security Issues report, it’s a real, automated flag generated by Google’s crawling and Safe Browsing systems based on evidence found on your site — not a phishing attempt or a sales tactic. Be careful with a different, common scam: unsolicited emails claiming to be "from Google" that warn about a security issue and push you to click a link or call a number. Always verify by logging into search.google.com/search-console directly rather than clicking a link in an email.
How do I check if my site has malware?
Log into Google Search Console, select your property, and open the Security Issues report in the left menu — if it’s clean, you’ll see "No issues detected." You can also check independently at Google’s Safe Browsing site status checker, and for deeper certainty, review your codebase, database, and file-modification timestamps by hand, since scanners and Search Console’s sample URLs both tend to show only the most obvious infected pages.
What does it mean if a site is not indexed?
"Not indexed" means Google has crawled (or tried to crawl) your page but decided not to store it in the index it serves search results from, so the page can’t appear in search no matter what someone searches for. This can be intentional (a noindex tag, a robots.txt block) or unintentional (crawl errors, thin content, a new site Google hasn’t fully discovered, or a security issue that caused Google to pull the page back protectively).
Why is Google not indexing my site?
The most common causes, roughly in order: an accidental noindex tag or X-Robots-Tag header, a robots.txt rule blocking Googlebot, a canonical tag pointing away from the page, the site being brand new and still waiting on initial crawl, server errors during crawl attempts, and thin content. If a Security Issues warning is also present, treat that as the primary suspect and fix it first — Google won’t fully re-index a site it still considers unsafe.
How do I fix indexing issues on a website?
Start in Search Console’s Page Indexing report to see the specific reason for each excluded URL, then work through it: resolve any Security Issues first, remove blocking noindex tags or robots.txt rules, fix canonical tags, confirm the server returns a clean 200 status, then use the URL Inspection tool’s "Request Indexing" once the underlying cause is fixed. Requesting indexing while the underlying problem persists won’t help.
How long does the Security Issues warning take to clear after I fix it?
There’s no fixed number, but expect the review to take anywhere from a few days to a couple of weeks after you submit the request — longer if the fix was incomplete and Google’s re-crawl finds the same or new hacked content, which restarts the clock. Indexing and rankings typically recover gradually after the flag clears, not instantly.
What’s the difference between the Security Issues report and the Manual Actions report?
They’re separate reports for separate problems. Security Issues covers hacked content, malware, and deceptive pages detected automatically by Google’s crawlers — no human reviewer involved. Manual Actions covers webspam violations (unnatural links, thin affiliate content, cloaking) identified by a human reviewer at Google. A site can have one, both, or neither, and clearing one does not clear the other.
Can I submit a review request before I’ve fully cleaned the site?
You can, but you shouldn’t — a rejected review request typically means a longer wait before you can submit again, and Google’s rejection notice only tells you the issue is still present, not exactly what was missed. Confirm every injected file, spam page, and backdoor is gone — not just the sample URLs Google showed you — before you submit.

Keep reading

Don’t guess whether you got everything

A manual audit finds every compromised file and injection point — not just what a scanner or Google’s sample URLs surface — so your review request holds up the first time.

Passive recon only. No login, and no impact on your site. Deeper testing needs domain verification.

Ready for the full manual audit? See transparent pricing →