Skip to content

Commit 005a8ac

Browse files
committed
exclude vuls
1 parent a06ee74 commit 005a8ac

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

build.sbt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ ThisBuild / scalaVersion := "2.13.18"
2525

2626
ThisBuild / dockerBaseImage := "eclipse-temurin:8-jdk"
2727

28+
/*
29+
* play-test pulls in both org.seleniumhq.selenium:htmlunit-driver and io.fluentlenium:fluentlenium-core, which transitively bring in net.sourceforge.htmlunit:htmlunit:2.70.0 with known security vulnerabilities.
30+
* None of our tests use Selenium, HtmlUnit, or FluentLenium, so we exclude them from the classpath. These exclusions can be removed once Play Framework upgrades to versions of these libraries that no longer depend on a vulnerable htmlunit (see https://github.com/playframework/playframework/releases).
31+
*/
32+
ThisBuild / excludeDependencies += "org.seleniumhq.selenium" % "htmlunit-driver"
33+
ThisBuild / excludeDependencies += "io.fluentlenium" % "fluentlenium-core"
34+
2835
val compilerOptions = Seq(
2936
"-deprecation",
3037
"-Xfatal-warnings",

0 commit comments

Comments
 (0)