How to solve the website security vulenarabilites like sql injection or sql error , provide the best solution to do this in the hubspot cms.
Hi, @aratidesai HubSpot CMS is designed to prevent SQL injection attacks by default. The platform handles all database operations internally, and developers don’t have direct SQL access. However, here are best practices for secure data handling:
- Use HubSpot’s Forms API for all form submissions
- Always validate input using HubL filters
- Use parameterized API calls when working with custom code
- Enable HubSpot’s built-in security features like SSL
Have fun building! — Jaycee
Hi @aratidesai,
The answer is nothing to do ![]()
HubSpot is generally secure from SQL injection attacks.
HubSpot’s internal systems manage database interactions, preventing users from directly accessing the database table thus minimizing direct SQL exposure. The primary interactions are through APIs and form submissions.