aldrichdev / neatf2p-nextjs

Next.js project/website for Neat F2P.
https://neatf2p-nextjs.vercel.app
0 stars 1 forks source link

F2P-126 | Need to protect API routes against SQL injection #84

Closed aldrichdev closed 8 months ago

aldrichdev commented 8 months ago

What's Changed

How Tested

Notes

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
neatf2p-nextjs ✅ Ready (Inspect) Visit Preview Mar 5, 2024 6:34am
netlify[bot] commented 8 months ago

Deploy Preview for precious-kulfi-215718 ready!

Name Link
Latest commit 51132fe11cba997d60fe2511072c098aae3abf4c
Latest deploy log https://app.netlify.com/sites/precious-kulfi-215718/deploys/65e6bce969bc86000880440b
Deploy Preview https://deploy-preview-84--precious-kulfi-215718.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

aldrichdev commented 8 months ago

Tested the risky updateWebsiteUserPassword call locally, with SQL injection code in the userId body param. It does not work, likely due to a syntax issue, since each parameter is processed separately and there are unclosed single quotes.

image