Security Advisories (1)
CVE-2026-13766 (2026-06-30)

DBIx::QuickORM versions before 0.000026 for Perl allow SQL injection via unquoted SQL identifiers. The default SQL builder, a SQL::Abstract subclass, sets bindtype in its constructor but never quote_char, so SQL::Abstract emits identifiers verbatim. Caller-supplied identifiers (order_by, where-clause column keys, field and returning lists, upsert columns, and join aliases) reach the SQL string raw, while values are placeholder-bound and unaffected. A caller that forwards untrusted input to an affected identifier position, such as a user-controlled order_by value, enables SQL injection: the row order can be made to depend on a sub-select over columns the query never selected, and the where and update identifier positions permit further data disclosure and tampering.

NAME

DBIx::QuickORM::Role::STH - Role for statement-handle wrappers.

DESCRIPTION

The common interface for the statement-handle wrappers (DBIx::QuickORM::STH and its async variants). It defines the iteration contract: fetch the result, check readiness, pull rows, and finalize.

Provides default cancel_supported (false) and cancel (croaks); cancellable handles override both. Also provides cancel_on_destroy (true): a handle whose destructor should wait for completion instead of cancelling an unfinished query overrides it to false.

REQUIRED METHODS

connection, source, dialect, only_one, got_result, result, ready, done, set_done, clear, next.

SOURCE

The source code repository for DBIx::QuickORM can be found at https://github.com/exodist/DBIx-QuickORM.

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

COPYRIGHT

Copyright Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See https://dev.perl.org/licenses/