@@ -26,19 +26,18 @@ ThisBuild / scalaVersion := "2.13.18"
2626ThisBuild / dockerBaseImage := " eclipse-temurin:8-jdk"
2727
2828/*
29- * play-test pulls in both org.seleniumhq.selenium:htmlunit-driver and
30- * io.fluentlenium:fluentlenium-core, which transitively bring in
31- * net.sourceforge.htmlunit:htmlunit:2.70.0 with known security vulnerabilities.
32- * Override to a patched version. This can be removed once Play Framework upgrades
33- * to versions of these libraries that no longer depend on a vulnerable htmlunit
34- * (see https://github.com/playframework/playframework/releases).
29+ * play-test pulls in org.seleniumhq.selenium:htmlunit-driver:4.13.0, which
30+ * transitively brings in net.sourceforge.htmlunit:htmlunit:2.70.0 with known
31+ * security vulnerabilities. We exclude the old driver and vulnerable htmlunit,
32+ * and replace them with htmlunit3-driver:4.27.0 and org.htmlunit:htmlunit:4.21.0
33+ * which use the patched org.htmlunit group.
34+ * This can be removed once Play Framework upgrades its Selenium dependency
35+ * (see https://github.com/playframework/playframework/releases).
3536*/
36-
3737ThisBuild / excludeDependencies ++= Seq (
3838 " net.sourceforge.htmlunit" % " htmlunit" ,
3939 " org.seleniumhq.selenium" % " htmlunit-driver"
4040)
41-
4241ThisBuild / libraryDependencies ++= Seq (
4342 " org.htmlunit" % " htmlunit" % " 4.21.0" % Test ,
4443 " org.seleniumhq.selenium" % " htmlunit3-driver" % " 4.27.0" % Test
0 commit comments