diff --git a/bom/pom.xml b/bom/pom.xml
index bbbfee874304..f0c33ab76538 100644
--- a/bom/pom.xml
+++ b/bom/pom.xml
@@ -145,6 +145,11 @@ THE SOFTWARE.
jenkins-stapler-support
1.1
+
+ jakarta.servlet
+ jakarta.servlet-api
+ 4.0.4
+
jakarta.servlet.jsp.jstl
jakarta.servlet.jsp.jstl-api
diff --git a/core/pom.xml b/core/pom.xml
index 3b12be43fbd0..61c48e489794 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -443,7 +443,6 @@ THE SOFTWARE.
jakarta.servlet
jakarta.servlet-api
- 4.0.4
provided