Details
-
Improvement
-
Resolution: Fixed
-
Major
-
7.6.2
-
0
Description
Add query support in on-prem clusters to restrict JS Code Injection in JS UDFs.
Set the "jsRestrictionsEnabled" flag to true in on-prem mode as well - https://github.com/couchbase/query/blob/master/functions/javascript/javascript.go#L86
In 7.6.0 JS code restrictions have been enabled for provisioned mode clusters.
In 7.6.1 these restrictions should be enabled for on-prem mode clusters as well.