Skip to content

Database fields can cause sql injection #6161

Closed
@726232111

Description

@726232111

_wh()、_where_in()、_like() do not filter on query fields, If the developer incorrectly receives the query fields from the client, it can lead to SQL injection.

Example: https://github.com/726232111/CodeIgniter3.1.13-SQL-Inject/blob/main/README.md

I'm not sure if this is assessed as a security issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions