Skip to content

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.

Back to the lesson 1 to 12 of 12 (of 141 in all)

Clear the search

2025

12 points

New this year4

  1. ORM and framework level injection in Django first appears prominently in the disclosed reports.

    Seen in 5 reports
  2. 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
  3. Testing JSONField key transforms for injection appears in the disclosed reports.

    Seen in 1 report
  4. 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

  1. Django ORM lookups, aliases and connectors were productive in the disclosed reports.

    Seen in 5 reports
  2. 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
  3. Creating a FilteredRelation with an alias containing a double quote and using it in select_related worked.

    Seen in 2 reports
  4. 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
  5. Capturing an authenticated admin search request and running it through an injection tool against the keyword parameter was fruitful.

    Seen in 1 report
  6. 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

  1. Testing aggregation pipelines for NoSQL injection, seen in 2024, is rarer in the 2025 reports.

    Seen in 1 report
  2. 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