diff --git a/pom.xml b/pom.xml
index 0f39d3706ff..03d9b60c222 100644
--- a/pom.xml
+++ b/pom.xml
@@ -310,7 +310,7 @@
org.mockito
mockito-core
- 3.12.4
+ 4.8.0
test
diff --git a/xchange-stream-gemini-v2/pom.xml b/xchange-stream-gemini-v2/pom.xml
index 446bb68c73f..d8b64048e23 100644
--- a/xchange-stream-gemini-v2/pom.xml
+++ b/xchange-stream-gemini-v2/pom.xml
@@ -26,7 +26,7 @@
org.mockito
mockito-core
- 3.12.4
+ 4.8.0
test