Vulnerability library
Security checkJanuary 09, 2023

Failure to sanitize quotes which can lead to sql injection in squel

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmsquel

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

All versions of squel are vulnerable to sql injection.

The squel package does not properly escape user provided input when provided using the setFields method. This could lead to sql injection if the query was then executed.

Recommendation

No fix is available yet. Followings are affected versions:

  • <= 5.13.0

References

Could your website be exposed too?

SmartScanner can check your website for Failure to sanitize quotes which can lead to sql injection in squel and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023