I’m getting a 403 error when creating a topic with script tags enabled. This issue occurs in an environment running Discourse version 3.2.0.
I attempted to reproduce the same error in another environment using the latest stable version of Discourse (3.2.3), but the issue did not occur there. I was able to create the post successfully in Discourse 3.2.3.
To further investigate, I decided to downgrade from version 3.2.3 to 3.2.0 to reproduce the error, but I encountered an error during the downgrade process. Please see the attached image for details.
You cannot safely “downgrade” a Discourse instance because migrations might have run and manually picking those apart is a complete waste of your time and not supported.
Only the current version of stable is supported so you are best just to upgrade to 3.2.3 and stick with it?