We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jsContext
</script>
When doing window.stencilBootstrap("{{page_type}}", {{jsContext}}).load(); under https://github.com/bigcommerce/cornerstone/blob/master/templates/layout/base.html#L53, the context often contains a "description" or HTML blob.
window.stencilBootstrap("{{page_type}}", {{jsContext}}).load();
Browser interpretation of '</script>' actually has the first ' as the last line in a JS block and ' would actually appear on the page.
'</script>'
'
This should be properly encoded by escaping /.
/
The text was updated successfully, but these errors were encountered:
Thank you so much for identifying it! I'm setting special protection on my product's custom fields to avoid that until fixed.
Sorry, something went wrong.
No branches or pull requests
When doing
window.stencilBootstrap("{{page_type}}", {{jsContext}}).load();
under https://github.com/bigcommerce/cornerstone/blob/master/templates/layout/base.html#L53, the context often contains a "description" or HTML blob.Browser interpretation of
'</script>'
actually has the first'
as the last line in a JS block and'
would actually appear on the page.This should be properly encoded by escaping
/
.The text was updated successfully, but these errors were encountered: