We have noticed that <script></script> can be saved into HubSpot via an embedded form. When we use Hubl to display the values saved into a webpage, the script is now embedded in the page.
The Hubspot API disallows <script>, can forms submission disallow this also? Or atleast can we have a safe way to display the values via Hubl?
I’ve used a temporary solution
|striptags
But we’d need to apply this site wide. Can we globally set this?
We can sanitize the string on the front end but would need to hijack the submit button which isn’t ideal