Skip to content

fix: potential sql injection vulnerability in database query construction #968

@zendy199x

Description

@zendy199x

Description

The database query construction uses string concatenation with user-provided input, which creates a SQL injection vulnerability. If userInput contains malicious SQL, it could be executed as part of the query. This could lead to unauthorized data access, modification, or deletion.

Severity: critical
File: plugins/database-plugin.ts

Expected Behavior

This should be handled properly to prevent runtime errors or degraded reliability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions