diff --git a/core/pom.xml b/core/pom.xml
index fab776d142ef7..dc0d07d806635 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -319,6 +319,12 @@
selenium-java
test
+
+
+ xml-apis
+ xml-apis
+ test
+
org.mockito
mockito-all
diff --git a/pom.xml b/pom.xml
index f99a83b9994ed..51bef30f9ca8f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -422,6 +422,13 @@
2.42.2
test
+
+
+ xml-apis
+ xml-apis
+ 1.4.01
+ test
+
org.slf4j
slf4j-api