
Three years after we called SQL injection an evergreen adversary, our own blocked attack data shows where attackers are looking today, and why your APIs deserve a closer look.
SQL injection is still around, and it is trying new doors
In September 2023 we wrote about why SQL injection never really goes away. The post was called SQL Injection, The Evergreen Adversary. Three years on, it is still true. What our data shows is where attackers go looking for it today.
Login forms, search boxes and URL parameters are still targets. But many modern applications also rely on APIs and backend services, including REST and GraphQL interfaces, and attackers probe those as well.
SiteWALL blocked 54,739 SQL injection related events across two categories. In the larger category, 54,477 events, more than half were aimed at just two kinds of API route, WordPress REST batch routes and GraphQL.
In this post we look at where those attempts landed, why blocking a few bad IP addresses is not enough, and what you can do about it.
What SiteWALL blocked
The numbers below come from anonymised SiteWALL WAF data. They fall into two separate categories, and no event is counted in both.

These are requests that SiteWALL blocked and classified using its security rules. They do not prove that the targeted applications were vulnerable, or that the attacks would have worked.
Some of these requests may have gone to pages that do not even exist. Some may have reached applications with no weakness at all. So treat them as attempts that were stopped, not as confirmed breaches. Even so, what attackers choose to aim at tells us something useful.
Where did the attempts land?
The biggest surprise was how many attempts went to API routes. Of the 54,477 events in the standard SQL injection category, 29,337 events, or 53.9%, were aimed at WordPress REST batch routes and GraphQL endpoints. Most people think of login forms and search boxes when they hear SQL injection. These routes are something different.

WordPress REST batch routes received 17,181 blocked events
|
Requested endpoint |
Blocked events |
|
/?rest_route=/batch/v1 |
10,575 |
|
/wp-json/batch/v1 |
4,199 |
|
/index.php?rest_route=/batch/v1 |
2,407 |
|
Total |
17,181 |
Together these routes made up 31.5% of the standard SQL injection events.
GraphQL endpoints received 12,156 blocked events
|
Requested endpoint |
Blocked events |
|
/v1/graphql |
4,180 |
|
/graphql |
4,006 |
|
/api/graphql |
3,970 |
|
Total |
12,156 |
GraphQL routes made up another 22.3%.
The three GraphQL paths received very similar numbers of requests. That is consistent with automated tools probing common API paths, whether or not those routes exist on the sites they reach.
The takeaway is simple. Attackers are not only looking at the pages your visitors see. They are also trying the routes behind them.
Thousands of different IP addresses

The 54,477 events came from 5,407 unique IP addresses, which works out to about 10 events per address. The 20 busiest addresses accounted for just 14.7% of the events, and the single busiest one for about 1.5%. The rest was spread across thousands of other addresses.
Blocking a few highly active IP addresses may reduce malicious traffic, but IP blocklists alone cannot provide comprehensive protection against threats distributed across thousands of sources.
Where did the requests come from?
|
Country |
Share of blocked SQL injection events |
|
United States |
37.2% |
|
India |
21.5% |
|
France |
9.6% |
|
Combined |
68.3% |
These figures show where the requests appeared to come from, not necessarily where the attackers sit. Attackers often use cloud servers, hosting providers, proxies and hacked machines to hide their location.
The request headers gave us a few more clues. About 8% of the events carried an incomplete browser identification string, and 589 had no recorded user agent. That fits scripted, automated traffic, although a user agent alone cannot tell you which tool was used. The similar counts across the three GraphQL paths point the same way.
To defend against SQL injection you need to look at how a request behaves, not just where it comes from.
Old tricks are still in use
API routes led in this data, but traditional pages still received their share of attempts.
|
Targeted path |
Blocked events |
|
/logindb.php |
514 |
|
/login.aspx |
287 |
|
/login.php |
217 |
|
/downloads/down.php |
217 |
|
/zentao/user-login.html |
150 |
The download page was hit with a classic test using an AND 1=1 condition. Each of these paths is a small slice of the total. Together they show that the familiar techniques are still part of automated attacks.
Attackers are not dropping traditional pages for APIs. They try both. A legacy login page, a file download script and a modern API route can all become a target when an application passes untrusted input into a database query.
What about SQL injection in JSON?
Modern APIs often send data as JSON. That gives applications another place where input has to be checked carefully.
Next to the 54,477 standard events, SiteWALL separately blocked 262 SQL JSON injection events. That is 0.48% of the combined 54,739. The two categories are separate and do not overlap.
A small but focused pattern
The 262 events came from only 15 IP addresses. Two of them, located in Indonesia and the United States, were behind 78.2% of the events. That is very different from the wide spread of sources in the standard category.
|
Target category |
Blocked events |
|
WordPress REST batch routes with
varying parameter names |
80 |
|
Login, sign in and sign up routes |
44 |
|
WordPress Contact Form 7 administrative
routes |
21 |
|
Administrative configuration routes |
19 |
These are selected route groups, not the full breakdown of all 262 events.
The smaller number of JSON events does not mean the risk is lower. The impact depends on how an application handles untrusted input and builds its database queries, not on the format of the input. These 262 events show only what SiteWALL classified and blocked in this category.
They do not tell us how common JSON based injection is across the internet.
If you build or use APIs, check structured input as carefully as you check a web form.
What the wider industry says
Our numbers fit a bigger picture. SQL injection is still a real concern, even as the way applications are built and the way risks are ranked keep changing.
OWASP still lists Injection as a major risk
In the OWASP Top 10 for 2025, Injection sits at A05:2025. In the 2021 edition it was A03:2021. OWASP's data ties Injection to 62,445 CVEs, and more than 14,000 of them are SQL injection weaknesses listed under CWE-89.
The ranking comes from how OWASP scores risk, not from how many attacks reach applications. A lower position does not mean the threat has gone away.
SQL injection and the OWASP API Security Top 10
Injection had its own entry in the 2019 OWASP API Security Top 10, listed as API8:2019. The 2023 edition does not have a standalone Injection category. That does not make modern APIs immune. The list picks the most important API risks. It is not a full catalogue of every weakness, so teams should use it together with broader injection guidance and secure coding practices.
The 2023 list does include API9:2023 Improper Inventory Management, which is about APIs that are poorly tracked or unmanaged. You cannot assess or protect an API you do not know exists.
Real vulnerabilities from 2026
Recent disclosures show that SQL injection still affects widely used software, including security products.
Fortinet FortiClient EMS. CVE-2026-21643 is a SQL injection flaw that can be exploited without logging in. CISA added it to its Known Exploited Vulnerabilities catalogue on 13 April 2026.
Drupal Core on PostgreSQL. CVE-2026-9082 is a SQL injection flaw that can be exploited without logging in, in affected setups. It was published on 20 May 2026 and CISA added it to the catalogue on 22 May 2026, just two days after it was published. That shows how quickly organisations may need to respond to a flaw that is being actively exploited.
These are separate examples of ongoing SQL injection risk. They are not necessarily linked to the requests SiteWALL blocked.
Why leaders should care
SQL injection is often seen as a developer problem, but the damage goes further. A successful attack can expose sensitive data, take over application accounts, change database records or disrupt the business. If you handle payments, customer data or critical services, the impact can be operational, financial and regulatory.
Our data points to three things worth your attention.
APIs are part of your attack surface. You may have secured your main website and still overlooked APIs, older endpoints or backend services that anyone on the internet can reach. Blocked attempts against common API paths are a good reason to look beyond the visible pages.
The attacks come from everywhere. With thousands of IP addresses in the data, blocklists alone are unlikely to be enough. You need controls that look at the request itself and spot malicious input.
A fix takes time, and attacks do not wait. Developers need time to build, test and deploy a permanent fix. Until then, web application and API security controls add a layer of protection against known attack techniques.
Four Layers of Web and API Protection

1. Find and list your exposed APIs. Identify the APIs, endpoints and services that can be reached from the internet. Pay special attention to older routes, retired interfaces and third party integrations. API discovery tools can help find the unexpected or unmanaged ones.
2. Fix SQL injection in the application. Use parameterised queries to keep untrusted input separate from SQL commands. Validate input on the server, use allowlists for fields such as sorting and filtering, and give database accounts only the access they need.
3. Protect web applications and APIs together. Your security cover should reach beyond pages and forms to the REST and GraphQL interfaces your applications expose.
4. Use virtual patching while the real fix is built. Well configured and tested WAF rules can block known attack patterns in the meantime. Virtual patching works alongside secure coding and timely updates. It does not replace them.
The evergreen adversary keeps knocking
When we called SQL injection an evergreen adversary in September 2023, the point was that old weaknesses do not disappear just because technology moves on. Three years later our data says the same. Across two categories SiteWALL blocked 54,739 SQL injection related events. Of the 54,477 standard SQL injection events, 53.9% were aimed at WordPress REST batch routes and GraphQL. Across that category, the attempts came from 5,407 different IP addresses.
The main lesson is that SQL injection is still active against both traditional pages and APIs. The techniques are familiar. The doors attackers try them on now include APIs as well. Protecting only the website your customers see is not enough. You need to understand and protect the whole application and API attack surface.
Your website may be protected. But are all your APIs?
Find the APIs you did not know were exposed, then protect them. See how SiteWALL discovers, inventories and protects your APIs.




