Skip to content

Code comment asserts that "where option" is vulnerable to sql injection. #10011

Closed

Description

@RichardEb

The code comments asserts that "where option" is vulnerable to sql injection. See: https://github.com/sequelize/sequelize/blob/master/lib/dialects/abstract/query-generator.js#L1125

But as far as I understood where is safe to use from v4 on. So the comment is wrong?!

Activity

  1. sushantdhiman commented on Oct 10, 2018

    @sushantdhiman
    Contributor

    Yes, raw where options were removed in v4, this comment can be removed

  2. added
    good first issue
    on Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions