In-depth lesson · SQL injection
Year by year: 2025
What the disclosed SQL injection reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2025
12 pointsNew this year4
ORM and framework level injection in Django first appears prominently in the disclosed reports.
Seen in 5 reports
Unpacking user supplied dictionaries into a Q object and controlling the connector key is a new pattern in the disclosed reports.
Seen in 1 report
Testing JSONField key transforms for injection appears in the disclosed reports.
Seen in 1 report
As an authenticated DAG user, supplying a partition clause to a SQL table check operator and seeing whether it runs as SQL is a new pattern in the disclosed reports.
Seen in 1 report
Kept working6
Django ORM lookups, aliases and connectors were productive in the disclosed reports.
Seen in 5 reports
Putting a single quote into a numeric identifier taken from the URL path and watching for a database error or changed response found issues.
Seen in 2 reports
-
Critical -
Critical
-
Creating a FilteredRelation with an alias containing a double quote and using it in select_related worked.
Seen in 2 reports
Supplying a conditional sleep in a sort or order parameter and comparing response times against a zero delay request found issues.
Seen in 1 report
Capturing an authenticated admin search request and running it through an injection tool against the keyword parameter was fruitful.
As an authenticated report user, putting SQL into a coupon codes parameter and looking for a delayed response worked.
Seen in 1 report
Turned up less2
Testing aggregation pipelines for NoSQL injection, seen in 2024, is rarer in the 2025 reports.
Seen in 1 report
In a SELECT-only PostgreSQL injection, abusing filesystem functions to read files, seen in 2024, is rarer in the 2025 reports.
Seen in 1 report