You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test.findAndCountAll({
where: { id :1 },
order : [['id', 'DESC; delete from test;']]
})
when the client sends parameters of which columns should be ordered with there is a risk of sql injection.
this works with PostgreSQL. I haven't tested with other databases though.
The text was updated successfully, but these errors were encountered:
Test.findAndCountAll({
where: { id :1 },
order : [['id', 'DESC; delete from test;']]
})
when the client sends parameters of which columns should be ordered with there is a risk of sql injection.
this works with PostgreSQL. I haven't tested with other databases though.
The text was updated successfully, but these errors were encountered: