Vulnerability in EPiServer.Forms
I have been having a strange issue where by I am getting the following error:
It looks like a problem with the conventions. Do you have any extension methods for your content model?
Yes, we are using extension methods to index extra data on the commerce products, things like size, style, pricing, etc.
Do you suggest disabling the conventions and running the job without the conventions to see if that will resolve the issue?
Yes - that is something to try. You can also post your extension methods here so I and other poster can see if we can spot anything
Thanks for your help after much trial and error removing and adding conventions, it came down to the following 3 conventions:
SearchClient.Instance.Conventions.ForInstancesOf<ProductOne>().IdIs(x => x.CatalogId);
SearchClient.Instance.Conventions.ForInstancesOf<ProductTwo>().IdIs(x => x.CatalogId);
SearchClient.Instance.Conventions.ForInstancesOf<ProductThree>().IdIs(x => x.CatalogId);
Previously we were not indexing the catalog products, variants and nodes. After enabling these to be indexed and removing the above conventions the error message has disappeared.