diff --git a/ugs-core/pom.xml b/ugs-core/pom.xml
index cf0596e78e..ac6186c4c0 100644
--- a/ugs-core/pom.xml
+++ b/ugs-core/pom.xml
@@ -115,14 +115,9 @@
- org.graalvm.js
- js
- 23.0.1
-
-
- org.graalvm.js
- js-scriptengine
- 23.1.0
+ org.openjdk.nashorn
+ nashorn-core
+ 15.4
diff --git a/ugs-platform/ugs-platform-ugslib/pom.xml b/ugs-platform/ugs-platform-ugslib/pom.xml
index e2eb2c46c4..3608c454e5 100644
--- a/ugs-platform/ugs-platform-ugslib/pom.xml
+++ b/ugs-platform/ugs-platform-ugslib/pom.xml
@@ -136,6 +136,7 @@
javax.xml.bind
javax.xml.bind.annotation
javax.xml.bind.annotation.adapters
+ org.openjdk.nashorn.*