ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: Yiiiiii on March 05, 2019, 09:42:49 am
-
I'm trying to edit cell data with text "<script>alert('something')</script>" but it seem possible .
Have any attribute of pqGrid to prevent XSS?
-
Free version doesn't have inbuilt support to prevent XSS,
you may add this manually in the column renderers.
return val
.replace(/&/g, "&")
.replace(/<(\S)/g, "<$1")